bug fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/system/bin/sh
|
||||
MODDIR="${0%/*}"
|
||||
tools_path="${MODDIR%/*}/tools"
|
||||
tools_path="$MODDIR/tools"
|
||||
bin_path="$MODDIR/tools/bin"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
[[ ! -d $bin_path ]] && echo "$bin_path目錄遺失" && exit 1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/system/bin/sh
|
||||
MODDIR="${0%/*}"
|
||||
app_details="$MODDIR/app_details"
|
||||
tools_path="${tools_path%/*}/tools"
|
||||
tools_path="${MODDIR%/*}/tools"
|
||||
bin_path="${MODDIR%/*}/tools/bin"
|
||||
script="${0##*/}"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
|
||||
Reference in New Issue
Block a user