aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-16 10:26:51 +0000
committermerakor <cem@ckyln.com>2020-07-16 10:26:51 +0000
commit807ebe04b8629532a638a18791981870ace48895 (patch)
treed30d160aad5f9a01f0d99c1319c4e9cebe575cc6 /kiss
parent2e07c66013073065dde6d19cd5da62a642ca2117 (diff)
downloadcpt-807ebe04b8629532a638a18791981870ace48895.tar.gz
run_hook: use 'null' if no arguments are given
FossilOrigin-Name: 1414e355c53b73f768979da189ebc316c24d00f160920186626d35006a7a807f
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index d74182b..7667916 100755
--- 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() {