Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdnc
/
oam
/
bb89fa3256f625422e89b7acd2b9b94ed7b5c4cb
/
.
/
dgbuilder
/
tools
/
format_xml.sh
blob: c66153edd98c8452afe3946f0f56dd3bcc00a30d [
file
] [
log
] [
blame
]
if
[
"$#"
!=
"1"
]
then
echo
"Usage: $0 xmlFileFullPath"
exit
fi
if
[
-
z
"$PROJECT_HOME"
]
then
export PROJECT_HOME
=
$
(
pwd
)/..
fi
if
[
-
e
"$1"
]
then
python $PROJECT_HOME
/
tools
/
formatXml
.
py $1
else
echo
"File $1 does not exist"
fi