aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-build
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-30 18:49:54 +0000
committermerakor <cem@ckyln.com>2020-12-30 18:49:54 +0000
commit3e42aa924695f7c744181766f442ada94f0d65db (patch)
tree27dfefcbd06b771cf805aec6dc6da1d4ad96af92 /src/cpt-build
parent8936b063a7ddc9459cc4b3f8b6f46f296106c98d (diff)
downloadcpt-3e42aa924695f7c744181766f442ada94f0d65db.tar.gz
cpt-build: fix faulty CPT_PATH setting
FossilOrigin-Name: e34f2e3bf42cdfa6bdc94ffafbf1c7d58bc2a377608549e70c7b8bc426592272
Diffstat (limited to 'src/cpt-build')
-rwxr-xr-xsrc/cpt-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-build b/src/cpt-build
index d67f1a6..cb93949 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -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 ;}
create_cache