diff options
author | merakor <cem@ckyln.com> | 2020-03-05 15:12:57 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-03-05 15:12:57 +0000 |
commit | 380263716f691528266299e4a3816e03cd7f367b (patch) | |
tree | 54ff6b69882eaf9531c8d91ab406f15e9a9dcd48 /kiss | |
parent | 57da689bab21ba20b4062e95d08ed93405876d3a (diff) | |
download | cpt-380263716f691528266299e4a3816e03cd7f367b.tar.gz |
add build-fail hook
FossilOrigin-Name: 10a493ccbbb855bef3f037ae3c53c209da507a009050f727a3e70acc4439607a
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |