ecj4.6: do not word-split arguments

Handle well cli arguments that contain a space characters.
This commit is contained in:
Leonid Pliushch 2019-01-13 14:01:43 +02:00 committed by Fredrik Fornwall
parent 31f900cf76
commit 3851c4f727
3 changed files with 3 additions and 2 deletions

View File

@ -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 vendored
View File

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

View File

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