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