diff options
Diffstat (limited to 'src/cpt-checksum')
-rwxr-xr-x | src/cpt-checksum | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpt-checksum b/src/cpt-checksum index 63a567b..0a83ae0 100755 --- a/src/cpt-checksum +++ b/src/cpt-checksum @@ -1,8 +1,7 @@ #!/bin/sh -ef # Generate checksums -# 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) out "usage: ${0##*/} [pkg...]"; exit 1 ;; |