Code Review
/
ccsdk
/
distribution.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update distribution scripts to python3
[ccsdk/distribution.git]
/
dgbuilder
/
tools
/
format_xml.sh
diff --git
a/dgbuilder/tools/format_xml.sh
b/dgbuilder/tools/format_xml.sh
index
c66153e
..
fbe368e
100755
(executable)
--- a/
dgbuilder/tools/format_xml.sh
+++ b/
dgbuilder/tools/format_xml.sh
@@
-1,3
+1,4
@@
+#!/bin/bash
if [ "$#" != "1" ]
then
echo "Usage: $0 xmlFileFullPath"
if [ "$#" != "1" ]
then
echo "Usage: $0 xmlFileFullPath"
@@
-10,7
+11,7
@@
then
fi
if [ -e "$1" ]
then
fi
if [ -e "$1" ]
then
- python
$PROJECT_HOME/tools/formatXml.py $1
+ python
3 $PROJECT_HOME/tools/formatXml.py "$1"
else
else
- echo "File $1 does not exist"
+ echo "File $1 does not exist"
fi
fi