root/branches/Dirk_RenderTraversalWork/Common/sedInc

Revision 2, 390 bytes (checked in by vossg, 2 years ago)

created : basic import

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 file=`echo $1 | sed 's/\(.*\)\/\([^/]*\.h\)/\2/'`
4
5 if test -r $1
6 then
7
8     echo "Installing $1"
9     echo "    to $2/$file"
10
11 #    sed -e 's/include[ ]*<OSG/include <OpenSG\/OSG/g' -e 's/include[ ]*\"OSG/include \"OpenSG\/OSG/g' $1 > $2/$file
12
13     cp $1 $2/$file
14
15     if test -r $2/$file
16     then
17         chmod 444 $2/$file
18     fi
19 else
20
21     echo "Warning: $1 is not readable"
22
23 fi
24
Note: See TracBrowser for help on using the browser.