From ba234ba1a3398544885d7e7e4af4baffa9194dba Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 26 Aug 2024 00:15:41 +0800 Subject: [PATCH] Update restore.sh --- restore.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/restore.sh b/restore.sh index 30c4d12..8ae23d3 100755 --- a/restore.sh +++ b/restore.sh @@ -8675,6 +8675,7 @@ if [[ $othertmp != 0 ]]; then pause fi +othertmp=$(ls "$(dirname "$0")" | grep -c tmp) mkdir "$(dirname "$0")/tmp$$" pushd "$(dirname "$0")/tmp$$" >/dev/null