From: hayao Date: Sat, 26 Sep 2020 05:16:09 +0000 (+0900) Subject: [fix] : script path X-Git-Tag: rc3-alpha1~165^2~33 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2c0c166490d93f0b5048fa042f0dffc64fcd8054;p=alterlinux%2Falterlinux.git [fix] : script path --- diff --git a/tools/clean.sh b/tools/clean.sh index 2bd7da52..dedcfc7a 100755 --- a/tools/clean.sh +++ b/tools/clean.sh @@ -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