summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-08 21:36:07 +0000
committerrillig <rillig@pkgsrc.org>2007-01-08 21:36:07 +0000
commitaf7757c981d724dcb5f4e7440a257f609d30b233 (patch)
treecddcaeaab4e110f4e41ad7328ffdf20750f3c5de
parentdac0daadb888b13fb58c8c2a98cd42a1c97c236c (diff)
downloadpkgsrc-af7757c981d724dcb5f4e7440a257f609d30b233.tar.gz
Shortened the code.
-rw-r--r--mk/bulk/printdepends6
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/bulk/printdepends b/mk/bulk/printdepends
index 34bc064f9b0..58416f60a74 100644
--- a/mk/bulk/printdepends
+++ b/mk/bulk/printdepends
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: printdepends,v 1.23 2006/01/15 23:33:23 rillig Exp $
+# $NetBSD: printdepends,v 1.24 2007/01/08 21:36:07 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -146,9 +146,7 @@ for pkgdir in $list; do
else
echo "$0: error: could not extract dependencies for ${pkgdir} -- skipping." 1>&2
- case $brokenfile_flag in
- no) continue;;
- esac
+ [ $brokenfile_flag = yes ] || continue
${mkbulkdir} "${bulkfilesdir}/${pkgdir}"
{ echo "[printdepends] command failed: ${BMAKE} show-depends-dirs"