bug fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if [ -f "${0%/*}/tools/bin/tools" ]; then
|
||||
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="dumpname"
|
||||
. "${0%/*}/tools/bin/tools"
|
||||
. "${0%/*}/tools/bin/tools.sh"
|
||||
else
|
||||
echo "${0%/*}/tools/bin/tools遺失"
|
||||
echo "${0%/*}/tools/bin/tools.sh遺失"
|
||||
fi
|
||||
@@ -1,7 +1,7 @@
|
||||
if [ -f "${0%/*}/tools/bin/tools" ]; then
|
||||
if [ -f "${0%/*}/tools/bin/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="Restore"
|
||||
. "${0%/*}/tools/bin/tools"
|
||||
. "${0%/*}/tools/bin/tools.sh"
|
||||
else
|
||||
echo "${0%/*}/tools/bin/tools遺失"
|
||||
echo "${0%/*}/tools/bin/tools.sh遺失"
|
||||
fi
|
||||
@@ -1,7 +1,7 @@
|
||||
if [ -f "${0%/*/*}/tools/bin/tools" ]; then
|
||||
if [ -f "${0%/*/*}/tools/bin/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="Restore2"
|
||||
. "${0%/*/*}/tools/bin/tools"
|
||||
. "${0%/*/*}/tools/bin/tools.sh"
|
||||
else
|
||||
echo "${0%/*/*}/tools/bin/tools遺失"
|
||||
echo "${0%/*/*}/tools/bin/tools.sh遺失"
|
||||
fi
|
||||
@@ -1,7 +1,7 @@
|
||||
if [ -f "${0%/*/*}/tools/bin/tools" ]; then
|
||||
if [ -f "${0%/*/*}/tools/bin/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="Restore3"
|
||||
. "${0%/*/*}/tools/bin/tools"
|
||||
. "${0%/*/*}/tools/bin/tools.sh"
|
||||
else
|
||||
echo "${0%/*/*}/tools/bin/tools遺失"
|
||||
echo "${0%/*/*}/tools/bin/tools.sh遺失"
|
||||
fi
|
||||
Reference in New Issue
Block a user