aboutsummaryrefslogtreecommitdiff
path: root/tools/cpt-alternatives
diff options
context:
space:
mode:
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 ] || {