diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-09 15:12:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-09 15:12:46 +0000 |
commit | 0a17361ac7de747069f7fe81d94776078ad569e3 (patch) | |
tree | a6c5ccc35cb0139b0a9fd34358fe4f11ae4b1559 /mk | |
parent | a226b8965192ad0905ed065ed1fd56a17efac672 (diff) | |
download | pkgsrc-0a17361ac7de747069f7fe81d94776078ad569e3.tar.gz |
Documented the ksh-compatible form of the SKIP_FILTER.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-subr.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/check/check-subr.sh b/mk/check/check-subr.sh index 2ec44f7ee2a..bed0e6fadbb 100644 --- a/mk/check/check-subr.sh +++ b/mk/check/check-subr.sh @@ -1,4 +1,4 @@ -# $NetBSD: check-subr.sh,v 1.2 2006/11/09 10:52:21 rillig Exp $ +# $NetBSD: check-subr.sh,v 1.3 2006/11/09 15:12:46 rillig Exp $ # # This file contains shell functions that are used by the various shell # programs that check things in pkgsrc. All these programs must be @@ -22,7 +22,9 @@ # 1. The SKIP_FILTER variable can be used in the following pattern, # usually inside a "for" or "while" loop. # -# eval "case \"\$fname\" in $SKIP_FILTER *.orig) continue;; esac" +# skip=no +# eval "case \"\$fname\" in $SKIP_FILTER *.orig) skip=yes;; esac" +# [ $skip = no ] || continue # # 2. The programs using this file are run with the tools wrapper # directory in the PATH, so they call the utilities by their base names. |