Code Review
/
ccsdk
/
distribution.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add env to odlsli image
[ccsdk/distribution.git]
/
dgbuilder
/
tools
/
format_xml.sh
1
#!/bin/bash
2
if [ "$#" != "1" ]
3
then
4
echo "Usage: $0 xmlFileFullPath"
5
exit
6
fi
7
8
if [ -z "$PROJECT_HOME" ]
9
then
10
export PROJECT_HOME=$(pwd)/..
11
fi
12
if [ -e "$1" ]
13
then
14
python3 $PROJECT_HOME/tools/formatXml.py "$1"
15
else
16
echo "File $1 does not exist"
17
fi