OSDN Git Service

[fix] : Fix infinity loop
authorYamaD <me@dyama.net>
Sun, 10 Oct 2021 12:12:12 +0000 (21:12 +0900)
committerYamaD <me@dyama.net>
Sun, 10 Oct 2021 12:12:12 +0000 (21:12 +0900)
tools/docker-build.sh

index 72fc4d2..6d8e571 100755 (executable)
@@ -95,6 +95,7 @@ while (( ${#} > 0 )); do
             then
                 SHARE_PKG_DIR="${2}/pkg"
                 SHARE_DB_DIR="${2}/sync"
+               shift 2
             else
                 echo "Error: The directory is not found or cannot make directory." 1>&2
                 exit 1