root/branches/Dirk_RenderTraversalWork/Common/sedIncU

Revision 2, 384 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\|inl\|ins\)\)/\2/'`
4
5 if test -r $1 -a -w $2 -a $1 -nt $2/$file || ! test -r $2/$file; then
6     echo "Installing $1"
7     echo "    to $2/$file"
8
9     rm -f $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     chmod 444 $2/$file
16 fi
17
Note: See TracBrowser for help on using the browser.