aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-download
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-download')
-rwxr-xr-xsrc/cpt-download3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpt-download b/src/cpt-download
index 19c4732..f558b86 100755
--- a/src/cpt-download
+++ b/src/cpt-download
@@ -1,8 +1,7 @@
#!/bin/sh -ef
# Download sources for the given package
-# shellcheck disable=1091
-if command -v cpt-lib >/dev/null; then . cpt-lib; else . ./cpt-lib; fi
+if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi
case "$1" in
--help|-h)