From 2379eb1fa629eebd9de8c1a542734243ff2ef471 Mon Sep 17 00:00:00 2001 From: Xyne Date: Wed, 18 Sep 2013 03:01:23 +0000 Subject: makepkg: redirect downloader output to STDERR This allows scripts to safely capture the output of "makepkg -g". 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 e77e6e5e..67ec240a 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -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" -- cgit v1.2.3-24-g4f1b