aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-install
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-09 12:34:14 +0000
committermerakor <cem@ckyln.com>2021-11-09 12:34:14 +0000
commit3bd100bc38240ca7cf512fb0f7a9a3f68f5830b6 (patch)
tree66d7f83875d0e2ad670c05bacc7dae58e078ed68 /src/cpt-install
parent1cba6bc3be04d928aa5958e8435621bdb0711fae (diff)
parent458e2953caeb4034ac31e87ef54d7793d21cfa0b (diff)
downloadcpt-3bd100bc38240ca7cf512fb0f7a9a3f68f5830b6.tar.gz
merge 6.2.x branch
FossilOrigin-Name: b8a6b836398c80d01ca159297998732e8bd3b350cc5bb50515869afdb7d4a5d7
Diffstat (limited to 'src/cpt-install')
-rwxr-xr-xsrc/cpt-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-install b/src/cpt-install
index 7b892ae..50911c8 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" "$@"