Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 02:02:14 GMT
From:      "Constantine A. Murenin" <cnst@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 124242 for review
Message-ID:  <200707280202.l6S22EGZ007484@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 124242 by cnst@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



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