bugfix
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
|
||||
if [ -f "${0%/*}/tools/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="Getlist"
|
||||
#operate="Device_List"
|
||||
. "${0%/*}/tools/bin/tools.sh" | tee "$MODDIR/log.txt"
|
||||
. "${0%/*}/tools/tools.sh" | tee "$MODDIR/log.txt"
|
||||
else
|
||||
[[ $(echo "${0%/*}" | grep -o 'bin.mt.plus/temp') != "" ]] && echo "你媽沒告訴你腳本要解壓縮嗎?傻逼玩兒" && exit 2
|
||||
echo "${0%/*}/tools/bin/tools.sh遺失"
|
||||
echo "${0%/*}/tools/tools.sh遺失"
|
||||
fi
|
||||
Reference in New Issue
Block a user