diff --git a/scripts/linux/apktool b/scripts/linux/apktool index 3e8fd3f0..3d5acd7d 100755 --- a/scripts/linux/apktool +++ b/scripts/linux/apktool @@ -23,8 +23,6 @@ prog="$0" while [ -h "${prog}" ]; do newProg=`/bin/ls -ld "${prog}"` - echo ${newProg} - newProg=`expr "${newProg}" : ".* -> \(.*\)$"` if expr "x${newProg}" : 'x/' >/dev/null; then @@ -41,7 +39,6 @@ progdir=`pwd` prog="${progdir}"/`basename "${prog}"` cd "${oldwd}" - jarfile=apktool.jar libdir="$progdir" if [ ! -r "$libdir/$jarfile" ] @@ -77,4 +74,4 @@ fi # add current location to path for aapt PATH=$PATH:`pwd`; export PATH; -exec java $javaOpts -jar "$jarpath" "$@" +exec java $javaOpts -jar "$jarpath" "$@" \ No newline at end of file diff --git a/scripts/osx/apktool b/scripts/osx/apktool index 49476a9c..d07f5e02 100755 --- a/scripts/osx/apktool +++ b/scripts/osx/apktool @@ -23,8 +23,6 @@ prog="$0" while [ -h "${prog}" ]; do newProg=`/bin/ls -ld "${prog}"` - echo ${newProg} - newProg=`expr "${newProg}" : ".* -> \(.*\)$"` if expr "x${newProg}" : 'x/' >/dev/null; then @@ -41,7 +39,6 @@ progdir=`pwd` prog="${progdir}"/`basename "${prog}"` cd "${oldwd}" - jarfile=apktool.jar libdir="$progdir" if [ ! -r "$libdir/$jarfile" ] @@ -77,4 +74,4 @@ fi # add current location to path for aapt PATH=$PATH:`pwd`; export PATH; -exec java $javaOpts -Djava.awt.headless=true -jar "$jarpath" "$@" +exec java $javaOpts -Djava.awt.headless=true -jar "$jarpath" "$@" \ No newline at end of file diff --git a/scripts/windows/apktool.bat b/scripts/windows/apktool.bat index cf79c96a..37f07c45 100755 --- a/scripts/windows/apktool.bat +++ b/scripts/windows/apktool.bat @@ -1,4 +1,4 @@ @echo off if "%PATH_BASE%" == "" set PATH_BASE=%PATH% set PATH=%CD%;%PATH_BASE%; -java -jar -Duser.language=en "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9 +java -jar -Duser.language=en "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file