summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-05-09 20:05:53 -0700
committerRaphael Moll <ralf@android.com>2011-05-09 20:06:48 -0700
commit34ccf0ca75fd4db27a1e38c11970ca53087da035 (patch)
tree0be5c0ec7963825de133079cc6edbb37d71d5dd6
parent6660cb6cb4231a03a3c02127fa5c4e7828422caa (diff)
downloadproguard-34ccf0ca75fd4db27a1e38c11970ca53087da035.tar.gz
Fix proguard wrappers.
Shell version: This fixes the simple case of the proguard binary path having a space in it. Bat version: Use %* to capture all arguments, not just the first 9 ones. It's typical to have > 10. Change-Id: I32e7bcbe0c78f7518a1d727e4d80c07ec6d673b5
-rw-r--r--bin/proguard.bat2
-rwxr-xr-xbin/proguard.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/proguard.bat b/bin/proguard.bat
index 7989253..9e91ebf 100644
--- a/bin/proguard.bat
+++ b/bin/proguard.bat
@@ -7,4 +7,4 @@ IF EXIST "%PROGUARD_HOME%" GOTO home
SET PROGUARD_HOME=..
:home
-java -jar "%PROGUARD_HOME%"\lib\proguard.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -jar "%PROGUARD_HOME%"\lib\proguard.jar %*
diff --git a/bin/proguard.sh b/bin/proguard.sh
index 228d044..5d441f9 100755
--- a/bin/proguard.sh
+++ b/bin/proguard.sh
@@ -6,4 +6,4 @@
PROGUARD_HOME=`dirname "$0"`
PROGUARD_HOME=`dirname "$PROGUARD_HOME"`
-java -jar $PROGUARD_HOME/lib/proguard.jar "$@"
+java -jar "$PROGUARD_HOME"/lib/proguard.jar "$@"