mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-07 05:06:59 +01:00
parent
9ca830e8a1
commit
a4b5c926f4
@ -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" ]
|
||||||
|
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user