aboutsummaryrefslogtreecommitdiff
path: root/tools/cpt-alternatives
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 14:08:57 +0000
committermerakor <cem@ckyln.com>2020-07-24 14:08:57 +0000
commit0d634aa1f1710d949a5498cd3803a17c5426ca6a (patch)
tree71b4b0518d8a6b685af8a9e0c5efce800ef44e51 /tools/cpt-alternatives
parentbe96172e98b7289b032e1a87f13259c560920996 (diff)
downloadcpt-0d634aa1f1710d949a5498cd3803a17c5426ca6a.tar.gz
cpt: change local library path
FossilOrigin-Name: 3e3dc29cb83bb50fef18d5299b70328fffbb81c8970dfad0fefc16bdb0ea36bc
Diffstat (limited to 'tools/cpt-alternatives')
-rwxr-xr-xtools/cpt-alternatives2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpt-alternatives b/tools/cpt-alternatives
index a65c2fc..f0d2be0 100755
--- a/tools/cpt-alternatives
+++ b/tools/cpt-alternatives
@@ -2,7 +2,7 @@
# List and swap to alternatives
# shellcheck disable=1091
-if command -v cpt-lib >/dev/null; then . cpt-lib; else . ../lib.sh; fi
+if command -v cpt-lib >/dev/null; then . cpt-lib; else . ./cpt-lib; fi
case "$1" in --version|--help|-v|-h|'') ;; *)
[ -w "$CPT_ROOT/" ] || [ "$uid" = 0 ] || {