aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-build
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt-build')
-rwxr-xr-xsrc/cpt-build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpt-build b/src/cpt-build
index 5f73de8..edf59bb 100755
--- a/src/cpt-build
+++ b/src/cpt-build
@@ -1,8 +1,7 @@
#!/bin/sh
# Build a 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
parser_definition() {
setup REST -- "usage: ${0##*/} [pkg...]"