OSDN Git Service

[fix] : script path
authorhayao <shun819.mail@gmail.com>
Sat, 26 Sep 2020 05:16:09 +0000 (14:16 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 26 Sep 2020 05:16:09 +0000 (14:16 +0900)
tools/clean.sh

index 2bd7da5..dedcfc7 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )/.."
+script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && cd .. && pwd )"
 
 cd "${script_path}"
 sudo make clean