aboutsummaryrefslogtreecommitdiffstats
path: root/bin/retrace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/retrace.sh')
-rwxr-xr-xbin/retrace.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/retrace.sh b/bin/retrace.sh
index 5db744e..85fd314 100755
--- a/bin/retrace.sh
+++ b/bin/retrace.sh
@@ -2,8 +2,11 @@
#
# Start-up script for Retrace -- companion tool for ProGuard, free class file
# shrinker, optimizer, obfuscator, and preverifier for Java bytecode.
+#
+# Note: when passing file names containing spaces to this script,
+# you'll have to add escaped quotes around them, e.g.
+# "\"/My Directory/My File.txt\""
-PROGUARD_HOME=`dirname "$0"`
-PROGUARD_HOME=`dirname "$PROGUARD_HOME"`
+PROGUARD_HOME=`dirname "$0"`/..
java -jar $PROGUARD_HOME/lib/retrace.jar "$@"