From af7757c981d724dcb5f4e7440a257f609d30b233 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 8 Jan 2007 21:36:07 +0000 Subject: Shortened the code. --- mk/bulk/printdepends | 6 ++---- 1 file 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 @@ -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" -- cgit v1.2.3