summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 16:34:46 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 16:34:46 -0600
commit0385391ccb5eb6b99f335885b4a53bda5275ef38 (patch)
tree82f3946dfb1adaa33eb8a5869ef08873cf4eb65f /src
parent933e2e616bf2463d29a586c13b835e5d99e123b7 (diff)
pkgbuild-check-nonfree: also check optdepends
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pkgbuild-check-nonfree2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgbuild-check-nonfree b/src/pkgbuild-check-nonfree
index 262c1fb..5d7a1ae 100755
--- a/src/pkgbuild-check-nonfree
+++ b/src/pkgbuild-check-nonfree
@@ -41,7 +41,7 @@ check_deps() (
# packages being built
"${pkgname[@]}"
# depends
- "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}"
+ "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}" "${optdepends[@]%%:*}"
# mksource depends
"${mkdepends[@]}"
)