From: Christian Hesse <[email protected]>

This is required when redirecting checksums to PKGBUILD:

makepkg --clean --geninteg >> PKGBUILD

Signed-off-by: Christian Hesse <[email protected]>
---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 183e1a3e..3017f31b 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1101,7 +1101,7 @@ while [[ $1 ]]; do
 done
 
 # setup signal traps
-trap 'clean_up' 0
+trap 'clean_up >&2' 0
 for signal in TERM HUP QUIT; do
        trap "trap_exit $signal \"$(gettext "%s signal caught. Exiting...")\" 
\"$signal\"" "$signal"
 done

Reply via email to