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