PERFORCE change 125466 for review
Constantine A. Murenin
cnst at FreeBSD.org
Mon Aug 20 15:53:17 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125466
Change 125466 by cnst at 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"
More information about the p4-projects
mailing list