PERFORCE change 126371 for review

Constantine A. Murenin cnst at FreeBSD.org
Thu Sep 13 10:21:51 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=126371

Change 126371 by cnst at dale on 2007/09/13 17:21:23

	support for linking /etc/rc.d

Affected files ...

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

Differences ...

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

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


More information about the p4-projects mailing list