diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-30 11:38:28 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-30 14:12:11 -0400 |
commit | bc832adf337879b47dc9ed1633fa76c6a1e79fd9 (patch) | |
tree | 4a5dd3af1ce423ebaf065e8a7b03c68bb7169f29 | |
parent | 4c5679b931393b488a76c8248f1dd8e2621ca25e (diff) |
libremakepkg: Fix it_fails_with_bad_signaturesv20180530
libremakepkg defined a cleanup() function, which overrode
common.sh:cleanup(), which meant that common.sh:die() exited with a
'0' status.
-rwxr-xr-x | src/chroot-tools/libremakepkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index 46c289c..e1b9362 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -102,8 +102,8 @@ add_to_local_repo() { done } -hook_post_build+=('cleanup') -cleanup() { +hook_post_build+=('chroot_cleanup') +chroot_cleanup() { local copydir=$1 rm -f -- "$copydir"/chroot{prepare,build} } |