From bc832adf337879b47dc9ed1633fa76c6a1e79fd9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 30 May 2018 11:38:28 -0400 Subject: libremakepkg: Fix it_fails_with_bad_signatures libremakepkg defined a cleanup() function, which overrode common.sh:cleanup(), which meant that common.sh:die() exited with a '0' status. --- src/chroot-tools/libremakepkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chroot-tools/libremakepkg') 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} } -- cgit v1.2.2