Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2007 04:13:29 GMT
From:      "Constantine A. Murenin" <cnst@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125331 for review
Message-ID:  <200708190413.l7J4DTiW057738@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125331

Change 125331 by cnst@dale on 2007/08/19 04:13:25

	don't try to link files under CVS directories.
	
	This allows us to copy CVS/ directories into our tree locally, 
	so that we can generate sane diffs for local changes of files
	that are branched from FreeBSD's CVS.

Affected files ...

.. //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#5 edit

Differences ...

==== //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#5 (text+ko) ====

@@ -1,5 +1,5 @@
 #!/bin/sh
-# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#4 $
+# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#5 $
 # Author: Constantine A. Murenin, 2007-07
 
 # This file creates symbolic links for GSoC2007 cnst_sensors project
@@ -25,7 +25,7 @@
 	SDIR=`echo $i | sed "s#[.]/##g"`	#source directory
 	TDIR=`echo $SDIR | sed "s#[.]#/#g" | sed "s#^usr/#usr.#g"`	#target directory
 #	echo "Source directory: $SDIR;	Target directory: $TDIR"
-	for j in `find $SDIR -type f`
+	for j in `find $SDIR -type f -and -not -path "*/CVS/*"`
 	do
 		FILEINDIR=`echo $j | sed "s#$SDIR/##g"`
 #		echo "File $FILEINDIR in $SDIR"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708190413.l7J4DTiW057738>