diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-26 01:35:45 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-26 17:18:11 -0400 |
commit | 23faa9361d79d1d88754a1e1e5aa9f040b34545c (patch) | |
tree | 2a0dcd569de702c6f697c5e5536c5ddd07c8146e /src/fullpkg/fullpkg-build | |
parent | 99933725329dc760f5cc704b3fd20f033dafdd14 (diff) |
Merge pkgbuild-check-{nonfree,licenses}, add a summarize tool for it.
This should fix a number of bugs in those two scripts, and the summarize
script simplifies aur and libremakepkg:hooks-check.sh
Diffstat (limited to 'src/fullpkg/fullpkg-build')
-rwxr-xr-x | src/fullpkg/fullpkg-build | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fullpkg/fullpkg-build b/src/fullpkg/fullpkg-build index e922877..8149453 100755 --- a/src/fullpkg/fullpkg-build +++ b/src/fullpkg/fullpkg-build @@ -29,11 +29,8 @@ list_pkgs() { check_nonfree() { find "$build_dir" -name PKGBUILD \ -exec pkgbuild-check-nonfree {} + - if [ "$?" -eq 15 ]; then - error "Some PKGBUILD have nonfree problems" - exit 15 - fi - + local s=$? + pkgbuild-summarize-nonfree -q $s || return $s } # Removes a package from the buildorder |