summaryrefslogtreecommitdiff
path: root/fullpkg-find
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-02-18 16:07:11 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-02-18 16:07:11 +0100
commitb4aae66a7c3ba3eec714ca6cc11cd9913b5cf2fd (patch)
treedb3377446b30af07ef5ee69312578d9ed0f86ea3 /fullpkg-find
parent54b6cb03b60d1834130fa289188e9f232fab5898 (diff)
Don't error on unfound package, explain why it occurs.
Diffstat (limited to 'fullpkg-find')
-rwxr-xr-xfullpkg-find6
1 files changed, 3 insertions, 3 deletions
diff --git a/fullpkg-find b/fullpkg-find
index e38014e..9ddfa08 100755
--- a/fullpkg-find
+++ b/fullpkg-find
@@ -80,9 +80,9 @@ find_deps() {
local found=false
# TODO change for where_is or toru-path
- local pkgdir=$(toru -p ${_dep} \
- || error "dependency %s of %s not found" "${_dep}" "${pkgbase}" \
- && exit 1)
+ # May fail, e.g. since abslibre-mips64el doesn't include
+ # arch=any packages.
+ local pkgdir=$(toru -p ${_dep}) || true
if [ -n "$pkgdir" -a -d "${pkgdir}" ]; then
found=true