OSDN Git Service

[fix] : Fixed -w
authorhayao <hayao@fascode.net>
Fri, 11 Jun 2021 11:49:15 +0000 (20:49 +0900)
committerhayao <hayao@fascode.net>
Fri, 11 Jun 2021 11:49:15 +0000 (20:49 +0900)
tools/clean.sh

index 3f2f96f..6945c3c 100755 (executable)
@@ -99,7 +99,7 @@ while true; do
             shift 1
             ;;
         -w | --work)
-            work_dir="${OPTARG}"
+            work_dir="${2}"
             shift 2
             ;;
         -n | --noconfirm)