PERFORCE change 124242 for review

Constantine A. Murenin cnst at FreeBSD.org
Sat Jul 28 02:02:15 UTC 2007


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

Change 124242 by cnst at dale on 2007/07/28 02:01:17

	update the symbolic linking script to support sensorsd import

Affected files ...

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

Differences ...

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

@@ -1,5 +1,5 @@
 #!/bin/sh
-# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#2 $
+# $P4: //depot/projects/soc2007/cnst-sensors/sensors.ln.sh#3 $
 # Author: Constantine A. Murenin, 2007-07
 
 # This file creates symbolic links for GSoC2007 cnst_sensors project
@@ -10,7 +10,7 @@
 
 #create some directories that are specific for this project,
 #if they don't exist already
-for i in "sys/dev/lm"
+for i in "sys/dev/lm" "usr.sbin/sensorsd"
 do
 	DIR2C=$TPREFIX/$i	#directory to create
 	if [ ! -d $DIR2C ]
@@ -23,7 +23,7 @@
 for i in `find ./ -name "*.*" -type d`
 do
 	SDIR=`echo $i | sed "s#[.]/##g"`	#source directory
-	TDIR=`echo $SDIR | sed "s#[.]#/#g"`	#target 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`
 	do


More information about the p4-projects mailing list