summaryrefslogtreecommitdiffstats
path: root/jack/etc
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-04-16 18:22:36 +0200
committerYohann Roussel <yroussel@google.com>2015-04-16 18:22:36 +0200
commitc2dfdaa90849c1f4ad92c0d8c6521fd02dda01c5 (patch)
tree750c3d40d3455469bb8d2109b9b8307e896fa4ee /jack/etc
parenta2d1074695015c0d0f0e541dbfb4ce1cf2f14dc5 (diff)
downloadtoolchain_jack-c2dfdaa90849c1f4ad92c0d8c6521fd02dda01c5.zip
toolchain_jack-c2dfdaa90849c1f4ad92c0d8c6521fd02dda01c5.tar.gz
toolchain_jack-c2dfdaa90849c1f4ad92c0d8c6521fd02dda01c5.tar.bz2
Call jack with -cp instead of -jar
Because the launcher does not support -jar. Change-Id: I2dea7c65261f8fa508b81e758d4a901ab2e6dd90
Diffstat (limited to 'jack/etc')
-rwxr-xr-xjack/etc/jack2
1 files changed, 1 insertions, 1 deletions
diff --git a/jack/etc/jack b/jack/etc/jack
index e6e5235..ce3dd69 100755
--- a/jack/etc/jack
+++ b/jack/etc/jack
@@ -58,7 +58,7 @@ fi
# If not in server mode, exec jack
#
if [ "$SERVER" != "true" ]; then
- exec $JACK_VM_COMMAND -jar $JACK_JAR "$@"
+ exec $JACK_VM_COMMAND -cp $JACK_JAR com.android.jack.Main "$@"
echo "Cannot succeed to launch Jack" >&2
exit 255
fi