17 Sep
2013
17 Sep
'13
2:14 p.m.
Xyne wrote:
{ + # Download sources first to avoid downloader output in newsums array below. + makepkg --verifysource -dp "$buildfile" >/dev/null 2>&1 +
I could not find a combination of makepkg options that would omit nonsensical warnings and irrelevant output, so I have redirected everything to /dev/null. This is not ideal because the user may be left wondering what's happening as the sources are downloaded, but the output is confusing otherwise. Using "-g" leads to the least output but that will lead to redundant calculations of the checksums. The best approach would probably be to redirect downloader output to stderr in makepkg proper when invoked with -g, which would avoid this issue entirely. Thoughts?