Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2007 22:53:16 GMT
From:      "Constantine A. Murenin" <cnst@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125466 for review
Message-ID:  <200708202253.l7KMrGHW006984@repoman.freebsd.org>

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

Change 125466 by cnst@dale on 2007/08/20 22:52:44

	sort in find(1)

Affected files ...

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

Differences ...

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

@@ -1,5 +1,5 @@
 #!/bin/sh
-# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#7 $
+# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#8 $
 # Author: Constantine A. Murenin, 2007-07
 
 # This file creates symbolic links for GSoC2007 cnst_sensors project
@@ -31,12 +31,12 @@
 
 
 echo "FILES=\"\\" >>$CVSDIFFSH
-for i in `find ./ -name "*.*" -type d`
+for i in `find -s ./ -name "*.*" -type d`
 do
 	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 -and -not -path "*/CVS/*"`
+	for j in `find -s $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?200708202253.l7KMrGHW006984>