From b35496cddcb8306688bbe476381396cf9c7fc598 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 30 Jul 2021 13:55:15 +0000 Subject: cpt-checksum: fix crux-like usage FossilOrigin-Name: a190e88fc2eac4b604b0fa4204132b3a65e1295417a7d0e4a1fd49cb8a4d4ed0 --- src/cpt-checksum | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3