Browse Source

ecj4.6: do not word-split arguments

Handle well cli arguments that contain a space characters.
android-5
Leonid Plyushch 6 years ago
committed by Fredrik Fornwall
parent
commit
d68ae3b42a
  1. 1
      packages/ecj4.6/build.sh
  2. 2
      packages/ecj4.6/ecj
  3. 2
      packages/ecj4.6/ecj-21

1
packages/ecj4.6/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.eclipse.org/jdt/core/
TERMUX_PKG_DESCRIPTION="Eclipse Compiler for Java, for android 5 and 6"
TERMUX_PKG_VERSION=4.6.2
local _date=201611241400
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=9953dc2be829732e1b939106a71de018f660891220dbca559a5c7bff84883e51
TERMUX_PKG_SRCURL=http://archive.eclipse.org/eclipse/downloads/drops${TERMUX_PKG_VERSION:0:1}/R-$TERMUX_PKG_VERSION-$_date/ecj-$TERMUX_PKG_VERSION.jar
TERMUX_PKG_PLATFORM_INDEPENDENT=true

2
packages/ecj4.6/ecj

@ -8,4 +8,4 @@ dalvikvm -Xmx256m \
-proc:none \
-7 \
-cp @TERMUX_PREFIX@/share/java/android.jar \
$@
"$@"

2
packages/ecj4.6/ecj-21

@ -8,4 +8,4 @@ dalvikvm -Xmx256m \
-proc:none \
-7 \
-cp @TERMUX_PREFIX@/share/java/android-21.jar \
$@
"$@"

Loading…
Cancel
Save