ports/misc/tinderbox/files/patch-create
Ion-Mihai Tetcu fe40b60865 - Net/SMTP.pm and Digest/MD5.pm are both installed with perl 5.8.x so drop them
from RUN_DEPENDS and add files/patch-setup.sh to patch the distribution [1]
- allow creation of a Build that is a substring of an existing one
( files/patch-create) [2]
- bump PORTREVISION

Submitted by:	oliver [1], bsam and marcus [2]
Requested by:	marcus [1]
2006-09-18 20:20:09 +00:00

22 lines
534 B
Text

Index: create
===================================================================
RCS file: /space/cvs/marcuscom-cvs/portstools/tinderbox/Attic/create,v
retrieving revision 1.5.2.3
diff -u -r1.5.2.3 create
--- create 6 Apr 2006 05:18:24 -0000 1.5.2.3
+++ create 13 Sep 2006 19:51:46 -0000
@@ -49,7 +49,13 @@
tcExists () {
list=$(${pb}/scripts/tc list$1 2>/dev/null)
- echo ${list} | grep -qw $2
+ for obj in ${list}; do
+ if [ x"${obj}" = x"$2" ]; then
+ return 0
+ fi
+ done
+
+ return 1
}
cleanDirs () {