aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-03-05 15:12:57 +0000
committermerakor <cem@ckyln.com>2020-03-05 15:12:57 +0000
commit380263716f691528266299e4a3816e03cd7f367b (patch)
tree54ff6b69882eaf9531c8d91ab406f15e9a9dcd48
parent57da689bab21ba20b4062e95d08ed93405876d3a (diff)
downloadcpt-380263716f691528266299e4a3816e03cd7f367b.tar.gz
add build-fail hook
FossilOrigin-Name: 10a493ccbbb855bef3f037ae3c53c209da507a009050f727a3e70acc4439607a
-rwxr-xr-xkiss1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiss b/kiss
index 94aec19..55b0b0d 100755
--- a/kiss
+++ b/kiss
@@ -590,6 +590,7 @@ pkg_build() {
{ "$repo_dir/build" "$pkg_dir/$pkg" 2>&1 || {
log "$pkg" "Build failed"
log "$pkg" "Log stored to $log_dir/$pkg-$time-$pid"
+ run_hook build-fail
pkg_clean
kill 0
} } | tee "$log_dir/$pkg-$time-$pid"