diff options
Diffstat (limited to 'dgbuilder/tools/format_json.sh')
-rwxr-xr-x | dgbuilder/tools/format_json.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dgbuilder/tools/format_json.sh b/dgbuilder/tools/format_json.sh index f86ad3cf..5432e7d3 100755 --- 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" |