Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | if [ "$#" != "1" ] |
| 2 | then |
| 3 | echo "Usage: $0 xmlFileFullPath" |
| 4 | exit |
| 5 | fi |
| 6 | |
| 7 | if [ -z "$PROJECT_HOME" ] |
| 8 | then |
| 9 | export PROJECT_HOME=$(pwd)/.. |
| 10 | fi |
Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 11 | if [ -e "$1" ] |
| 12 | then |
Dan Timoney | b217558 | 2017-03-31 17:47:19 -0400 | [diff] [blame] | 13 | python $PROJECT_HOME/tools/formatXml.py $1 |
Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 14 | else |
| 15 | echo "File $1 does not exist" |
| 16 | fi |