summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
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}
}