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
Migrate ccsdk-distribution docs
[ccsdk/distribution.git]
/
dgbuilder
/
tools
/
format_json.sh
diff --git
a/dgbuilder/tools/format_json.sh
b/dgbuilder/tools/format_json.sh
index
f86ad3c
..
5432e7d
100755
(executable)
--- a/
dgbuilder/tools/format_json.sh
+++ b/
dgbuilder/tools/format_json.sh
@@
-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"