cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 56d0097da3a45974be307d350cb7cc4ab48d5beb
parent 1037c65cab71368cebd181e55ba844f123cb4407
Author: dylan <dylan.araps@gmail.com>
Date:   Thu,  5 Mar 2020 17:14:48 +0200

Merge pull request #117 from CarbsLinux/build-fail

add build-fail hook
Diffstat:
Mkiss | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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"