aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-09 09:59:10 +0000
committermerakor <cem@ckyln.com>2021-11-09 09:59:10 +0000
commit9a8743deb73d4025fee0c9fa0e901cdbb141df3d (patch)
tree75b7dbbe660739bba69dcdde04810ccb369c41ec
parent8c9c561e33de1930c2acf11e4dcc60091cfbd257 (diff)
downloadcpt-9a8743deb73d4025fee0c9fa0e901cdbb141df3d.tar.gz
cpt-install: fix shellcheck error
FossilOrigin-Name: 8faf0a20406acb0f83fc3da3775afbdbb866ba40a4cd5f1f28f53ee11a17df96
-rwxr-xr-xsrc/cpt-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-install b/src/cpt-install
index 44842a3..b64d5a0 100755
--- a/src/cpt-install
+++ b/src/cpt-install
@@ -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" "$@"