aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoreply@github.com <noreply@github.com>2020-03-05 15:14:48 +0000
committernoreply@github.com <noreply@github.com>2020-03-05 15:14:48 +0000
commit9f2b575691b9b76ef5013f477f4732d089bb8f85 (patch)
tree2ba2d4784d33568ebc81b6f6ec9dcfdb49df923a
parent156fbf64ae0a637f886890b7f7b8e7f384d20c59 (diff)
parent380263716f691528266299e4a3816e03cd7f367b (diff)
downloadcpt-9f2b575691b9b76ef5013f477f4732d089bb8f85.tar.gz
Merge pull request #117 from CarbsLinux/build-fail
add build-fail hook FossilOrigin-Name: 17c62184b2eae64bb70052a392f01eda5865a984889b74ab3771f2b6c4ef7c95
-rwxr-xr-xkiss1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiss b/kiss
index fb822c0..56f560b 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"