summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index b01976d..e5130c8 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -33,9 +33,7 @@ umask 0022
# End inmediately but print a useful message
trap_exit() {
error "$*"
- set +euE
- . /usr/share/devtools/makechrootpkg.sh
- chroot_copy_out_logs "$@"
+ $INCHROOT || chroot_copy_out "$copydir" "$LIBREUSER"
exit 1
}