tools: Do not pass "&>" to dalvikvm when running art --profile
Previously eval would remove the "&>" and this would do the right thing,
but we are no longer using eval.
This also fixes art-profile-cc runs on go/lem.
Test: art --profile -cp $PATH_TO_GOLEM_GCLIENT/golem4/generated/benchmarks.dex benchmarks.MicroMethodHandles.java.MicroMethodHandles
Bug: 63892541
Change-Id: I31fccc5bfdecc22077c4bcc91e7328641c376ca4
diff --git a/tools/art b/tools/art
index 077dc4a..bc0c85e 100644
--- a/tools/art
+++ b/tools/art
@@ -278,7 +278,7 @@
-Xps-profile-path:$PROFILE_PATH \
-Xusejit:true \
"${ARGS_WITH_QUICKEN[@]}" \
- "&>" "$ANDROID_DATA/profile_gen.log"
+ &> "$ANDROID_DATA/profile_gen.log"
EXIT_STATUS=$?
if [ $EXIT_STATUS != 0 ]; then