root/branches/mixin-collappse/Common/sedIncBuildU
| Revision 2, 344 bytes (checked in by vossg, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | file=`echo $1 | sed 's/\(.*\)\/\(.*\.h\)/\2/'` |
| 4 | |
| 5 | if test -r $1 -a -w $2 -a $1 -nt $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 |
Note: See TracBrowser for help on using the browser.
