aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-09 09:58:25 +0000
committermerakor <cem@ckyln.com>2021-11-09 09:58:25 +0000
commit084402a10322ee126a3751a6f9ee3f147c2f708e (patch)
treea8eb57dc2aa57f94ac41011728ae7d51c9fc4b5c
parent066f39fe72bd7fdcd8f2c56d2d5cf9fbed9e9e0d (diff)
downloadcpt-084402a10322ee126a3751a6f9ee3f147c2f708e.tar.gz
cpt-remove: fix shellcheck error
FossilOrigin-Name: 07c7f7449592259d1eb410762d36296beabb81e6c2c5ebde0711e1da74d41f74
-rwxr-xr-xsrc/cpt-remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-remove b/src/cpt-remove
index cce3739..ae007eb 100755
--- a/src/cpt-remove
+++ b/src/cpt-remove
@@ -10,7 +10,7 @@ parser_definition() {
if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
-[ "$1" ] || { set -- "${PWD##*/}"; export CPT_PATH=${PWD%/*}:$CPT_PATH ;}
+[ "$1" ] || { set -- "${PWD##*/}"; export CPT_PATH="${PWD%/*}:$CPT_PATH" ;}
[ -w "$CPT_ROOT/" ] || [ "$uid" = 0 ] || {
as_root "$0" "$@"