diff options
author | noreply@github.com <noreply@github.com> | 2020-03-05 15:14:48 +0000 |
---|---|---|
committer | noreply@github.com <noreply@github.com> | 2020-03-05 15:14:48 +0000 |
commit | 9f2b575691b9b76ef5013f477f4732d089bb8f85 (patch) | |
tree | 2ba2d4784d33568ebc81b6f6ec9dcfdb49df923a | |
parent | 156fbf64ae0a637f886890b7f7b8e7f384d20c59 (diff) | |
parent | 380263716f691528266299e4a3816e03cd7f367b (diff) | |
download | cpt-9f2b575691b9b76ef5013f477f4732d089bb8f85.tar.gz |
Merge pull request #117 from CarbsLinux/build-fail
add build-fail hook
FossilOrigin-Name: 17c62184b2eae64bb70052a392f01eda5865a984889b74ab3771f2b6c4ef7c95
-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" |