pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Shortened the code.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebeb62de53da
branches:  trunk
changeset: 523518:ebeb62de53da
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jan 08 21:36:07 2007 +0000

description:
Shortened the code.

diffstat:

 mk/bulk/printdepends |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r c7baf17cb339 -r ebeb62de53da mk/bulk/printdepends
--- a/mk/bulk/printdepends      Mon Jan 08 21:34:57 2007 +0000
+++ b/mk/bulk/printdepends      Mon Jan 08 21:36:07 2007 +0000
@@ -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@localhost>
@@ -146,9 +146,7 @@
                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"



Home | Main Index | Thread Index | Old Index