summaryrefslogtreecommitdiff
path: root/pkgbuild-check-nonfree
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-28 01:23:53 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-28 01:23:53 -0600
commitaf6ac6ea9ef779c0f88fd456e8d73636f22773ce (patch)
treefed9d8e8d6340fedce713604ed5ebff2745c18bd /pkgbuild-check-nonfree
parentfa0b7b6f8e45982f1e2317c386ef0cf49ee840c7 (diff)
fullpkg: split in fullpkg-find and fullpkg-build
fullpkg-build: build, download and custom command on <build_dir> fullpkg-find: create a build_dir or append new building instruction libretools-mips64el: deprecation process pkgbuild-check-nonfree: minor bug corrected
Diffstat (limited to 'pkgbuild-check-nonfree')
-rwxr-xr-xpkgbuild-check-nonfree8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index 6f365e3..bd6fa4b 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -111,7 +111,7 @@ function check_deps { # Check wheter a package depends on non-free
return 1 # not PKGBUILD
fi
- msg "${pkgbase:-${pkgname[0]}} $pkgver $pkgrel ${epoch:-""}" # > "$logpipe"
+ msg2 "${pkgbase:-${pkgname[0]}} $pkgver $pkgrel ${epoch:-""}" # > "$logpipe"
for pkg in ${pkgname[@]} ${depends[@]} ${makedepends[@]} ${checkdepends[@]}; do
@@ -128,10 +128,10 @@ function check_deps { # Check wheter a package depends on non-free
elif [ -n "$rep" ]; then
if [ "$rep" = "$pkg" ]; then
- msg2 "$pkg is repackaged with the same name." # > "$logpipe"
+ plain "$pkg is repackaged with the same name." # > "$logpipe"
continue
else
- msg2 "$pkg -> $rep" # > "$logpipe"
+ plain "$pkg -> $rep" # > "$logpipe"
continue
fi
@@ -188,7 +188,7 @@ shift $(( OPTIND - 1))
msg "Looking for unfree dependencies"
-if [ $# -gt 1 ]; then
+if [ $# -ge 1 ]; then
for p in $@; do
if [ -n "$p" ]; then