- removes unneeded echo
This commit is contained in:
Connor Tumbleson 2015-10-29 07:09:45 -05:00
parent 9ca830e8a1
commit a4b5c926f4
3 changed files with 3 additions and 9 deletions

View File

@ -23,8 +23,6 @@
prog="$0" prog="$0"
while [ -h "${prog}" ]; do while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"` newProg=`/bin/ls -ld "${prog}"`
echo ${newProg}
newProg=`expr "${newProg}" : ".* -> \(.*\)$"` newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
if expr "x${newProg}" : 'x/' >/dev/null; then if expr "x${newProg}" : 'x/' >/dev/null; then
@ -41,7 +39,6 @@ progdir=`pwd`
prog="${progdir}"/`basename "${prog}"` prog="${progdir}"/`basename "${prog}"`
cd "${oldwd}" cd "${oldwd}"
jarfile=apktool.jar jarfile=apktool.jar
libdir="$progdir" libdir="$progdir"
if [ ! -r "$libdir/$jarfile" ] if [ ! -r "$libdir/$jarfile" ]

View File

@ -23,8 +23,6 @@
prog="$0" prog="$0"
while [ -h "${prog}" ]; do while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"` newProg=`/bin/ls -ld "${prog}"`
echo ${newProg}
newProg=`expr "${newProg}" : ".* -> \(.*\)$"` newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
if expr "x${newProg}" : 'x/' >/dev/null; then if expr "x${newProg}" : 'x/' >/dev/null; then
@ -41,7 +39,6 @@ progdir=`pwd`
prog="${progdir}"/`basename "${prog}"` prog="${progdir}"/`basename "${prog}"`
cd "${oldwd}" cd "${oldwd}"
jarfile=apktool.jar jarfile=apktool.jar
libdir="$progdir" libdir="$progdir"
if [ ! -r "$libdir/$jarfile" ] if [ ! -r "$libdir/$jarfile" ]