From c5a4b35528452855d125cea749fcc4a3a01fca9b Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 26 Apr 2013 20:32:37 -0400 Subject: makepkg: avoid redirecting stdout If stdout is already redirected, redirecting stderr to stdout can lead to undesirable results. Fixes FS#34974. Signed-off-by: Dave Reisner Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index dfc40772..deddade4 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1473,7 +1473,7 @@ run_function() { wait $teepid rm "$logpipe" else - $pkgfunc 2>&1 + "$pkgfunc" fi # reset our shell options eval "$shellopts" -- cgit v1.2.3-70-g09d2