1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 20:05:07 -05:00

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 <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Dave Reisner 2013-04-26 20:32:37 -04:00 committed by Allan McRae
parent c1dfdd2010
commit c5a4b35528

View File

@ -1473,7 +1473,7 @@ run_function() {
wait $teepid
rm "$logpipe"
else
$pkgfunc 2>&1
"$pkgfunc"
fi
# reset our shell options
eval "$shellopts"