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.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/dgbuilder/tools/format_xml.sh b/dgbuilder/tools/format_xml.sh
index f0074e67..c66153ed 100755
--- a/dgbuilder/tools/format_xml.sh
+++ b/dgbuilder/tools/format_xml.sh
@@ -8,10 +8,9 @@ if [ -z "$PROJECT_HOME" ]
then
export PROJECT_HOME=$(pwd)/..
fi
-export CLASSPATH=$CLASSPATH:.
if [ -e "$1" ]
then
- java FormatXml $1
+ python $PROJECT_HOME/tools/formatXml.py $1
else
echo "File $1 does not exist"
fi