Browse Source

ecj: do not word-split arguments

Do not split args if they contain a space.
android-5
Leonid Plyushch 6 years ago
committed by Fredrik Fornwall
parent
commit
063e915eae
  1. 2
      packages/ecj/build.sh
  2. 2
      packages/ecj/ecj
  3. 2
      packages/ecj/ecj-21

2
packages/ecj/build.sh

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.eclipse.org/jdt/core/
TERMUX_PKG_DESCRIPTION="Eclipse Compiler for Java"
TERMUX_PKG_VERSION=4.7.2
local _date=201711300510
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=43c2f45d1fd9afb8b04e547a253041957f19b2f21d8780cdb3a8706ce9b9b9ee
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/ecj/ecj

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

2
packages/ecj/ecj-21

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

Loading…
Cancel
Save