From 380263716f691528266299e4a3816e03cd7f367b Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 5 Mar 2020 15:12:57 +0000 Subject: add build-fail hook FossilOrigin-Name: 10a493ccbbb855bef3f037ae3c53c209da507a009050f727a3e70acc4439607a --- kiss | 1 + 1 file changed, 1 insertion(+) (limited to 'kiss') 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" -- cgit v1.2.3