diff options
-rwxr-xr-x | src/cpt-checksum | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-checksum b/src/cpt-checksum index 2de15a8..488ab87 100755 --- a/src/cpt-checksum +++ b/src/cpt-checksum @@ -10,6 +10,7 @@ parser_definition() { if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi +[ "$1" ] || { set -- "${PWD##*/}"; CPT_PATH=${PWD%/*}:$CPT_PATH ;} create_cache for pkg; do pkg_lint "$pkg" c; done |