[pacman-dev] [PATCH] makepkg: redirect downloader output to STDERR when generating checksums
Xyne
xyne at archlinux.ca
Tue Sep 17 10:40:05 EDT 2013
---
scripts/makepkg.sh.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index d0951df..406b2c9 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2825,7 +2825,8 @@ if (( GENINTEG )); then
mkdir -p "$srcdir"
chmod a-s "$srcdir"
cd_safe "$srcdir"
- download_sources fast
+ # Redirect downloader output so that scripts can capture the checksum output.
+ download_sources fast 1>&2
generate_checksums
exit 0 # $E_OK
fi
--
1.8.4
More information about the pacman-dev
mailing list