Index: compiler/scripts/darta_run.sh |
diff --git a/compiler/scripts/dartc_run.sh b/compiler/scripts/darta_run.sh |
similarity index 90% |
rename from compiler/scripts/dartc_run.sh |
rename to compiler/scripts/darta_run.sh |
index ad99a949d789ded8bf95bfbfdad4a90181baa0a0..56cbee717e7e99048f4f1d5c450fea74a2541e2f 100755 |
--- a/compiler/scripts/dartc_run.sh |
+++ b/compiler/scripts/darta_run.sh |
@@ -12,11 +12,10 @@ unset CLASSPATH |
# Figure out where the dartc home is |
SCRIPT_DIR=`dirname $0` |
-DARTC_HOME=`cd $SCRIPT_DIR; pwd` |
-DIST_DIR=$DARTC_HOME/compiler |
-DARTC_LIBS=$DIST_DIR/lib |
+DARTA_HOME=`cd $SCRIPT_DIR; pwd` |
+DIST_DIR=$DARTA_HOME/compiler |
-DARTC_FLAGS="" |
+DARTA_FLAGS="" |
# Make it easy to insert 'set -x' or similar commands when debugging problems with this script. |
eval "$JAVA_STUB_DEBUG" |
@@ -27,7 +26,7 @@ while [ ! -z "$1" ]; do |
case "$1" in |
--prof) |
# Ensure the preset -optimize flag is gone when profiling. |
- DARTC_FLAGS="--prof" |
+ DARTA_FLAGS="--prof" |
shift ;; |
--debug) |
JVM_DEBUG_PORT=${DEFAULT_JVM_DEBUG_PORT:-"5005"} |
@@ -53,7 +52,7 @@ exec $JAVABIN -ea -classpath @CLASSPATH@ \ |
${JVM_FLAGS} \ |
${JVM_FLAGS_CMDLINE} \ |
com.google.dart.compiler.DartCompiler \ |
- $DARTC_FLAGS \ |
+ $DARTA_FLAGS \ |
"$@" |
echo "ERROR: couldn't exec ${JAVABIN}." 1>&2 |