[pacman-dev] [PATCH] updpkgsums: omit downloader output when capturing checksums
allan at archlinux.org
Tue Sep 17 10:40:08 EDT 2013
On 18/09/13 00:31, Xyne wrote:
> Dave Reisner wrote:
>> Can you explain more about how you ran into this?
> I use aria2c as a downloader. If the sources are not already present then I end
> up with the full output of aria2c in the PKGBUILD above the checksums.
I'd guess that "makepkg -g >> PKGBUILD" does bad things too if the
source is not there.
Try this change in download_file in makepkg:
- eval "$dlcmd || ret=\$?"
+ eval "$dlcmd >&2 || ret=\$?"
If that is good, send a patch.
More information about the pacman-dev