Update distribution scripts to python3
[ccsdk/distribution.git] / dgbuilder / tools / format_json.sh
index f86ad3c..5432e7d 100755 (executable)
@@ -1,6 +1,7 @@
+#!/bin/bash
 if [ "$#" != "1" ]
 then
         echo "Usage: $0 jsonFileFullPath"
         exit
 fi
-cat $1|python -m json.tool
+python3 -m json.tool "$1"