comparison clients/utils/object_header.sh @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4a0efb7baf70
1 #!/bin/bash
2 # Adds an xml preprocessor directive to files named object.xml that indicates to fife that
3 # these are object files. Call with the root directory to convert under as an argument such
4 # as:
5 # ./object_header my_client/objects
6
7 for file in `find $1 -name object.xml`; do
8 echo "<?fife type=\"object\"?>" | cat - $file >> tmp.xml
9 mv tmp.xml $file
10 done