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:
Xyne 2013-09-18 03:01:23 +00:00 committed by Allan McRae
parent 028490ddcf
commit 2379eb1fa6
1 changed files with 1 additions and 1 deletions

View File

@ -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"