mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
makepkg: redirect downloader output to STDERR
This allows scripts to safely capture the output of "makepkg -g". Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
028490ddcf
commit
2379eb1fa6
@ -372,7 +372,7 @@ download_file() {
|
||||
fi
|
||||
|
||||
local ret=0
|
||||
eval "$dlcmd || ret=\$?"
|
||||
eval "$dlcmd >&2 || ret=\$?"
|
||||
if (( ret )); then
|
||||
[[ ! -s $dlfile ]] && rm -f -- "$dlfile"
|
||||
error "$(gettext "Failure while downloading %s")" "$filename"
|
||||
|
Loading…
x
Reference in New Issue
Block a user