cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 885214cdb060cc2e782c0106153b06958d066570
parent f49328f784e638785847e25a08339e8acf9b4e5d
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 16 Jul 2020 13:26:51 +0300

run_hook: use 'null' if no arguments are given

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -100,7 +100,7 @@ run_hook() { log "$2" "Running $1 hook" - TYPE=$1 PKG=$2 DEST=$3 . "$KISS_HOOK" + TYPE=${1:-null} PKG=${2:-null} DEST=${3:-null} . "$KISS_HOOK" } decompress() {