16 Jun
2010
16 Jun
'10
3:46 a.m.
On 16/06/10 01:14, Dan McGee wrote:
when using `[ ]&& action` style tests, the return code of the test can leak, which was unfortuante for every PKGBUILD that didn't contain an install file as the last test would always return 1 (failure). We want parsepkgbuild to return 0 if we make it all the way through.
"Fix" all of the shortcut test forms to just use the full `if [ ]; then` block instead of a shortcut.
Signed-off-by: Dan McGee<dan@archlinux.org> ---
Great. After applying all the patches sent to this list, the only problems I have scanning all the packages and PKGBUILDs from [core] is the bash and readline PKGBUILDs which have a non-bash way of generating the source array. Signoff all, Allan