summaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/format_xml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dgbuilder/tools/format_xml.sh')
-rwxr-xr-xdgbuilder/tools/format_xml.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/dgbuilder/tools/format_xml.sh b/dgbuilder/tools/format_xml.sh
index c66153ed..fbe368e1 100755
--- 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"
@@ -10,7 +11,7 @@ then
fi
if [ -e "$1" ]
then
- python $PROJECT_HOME/tools/formatXml.py $1
+ python3 $PROJECT_HOME/tools/formatXml.py "$1"
else
- echo "File $1 does not exist"
+ echo "File $1 does not exist"
fi