diff options
-rwxr-xr-x | ast2json/rpyc2json.py | 2 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ast2json/rpyc2json.py b/ast2json/rpyc2json.py index e57ed83..2caf53e 100755 --- a/ast2json/rpyc2json.py +++ b/ast2json/rpyc2json.py @@ -23,7 +23,7 @@ import ast2json import glob import itertools -import simplejson as json +import json import optparse import os.path import pickle @@ -26,7 +26,7 @@ check() { declare -g "$var=$get" echo ${get} # intentionally stripping whitespace - echo ${var} := ${get} ${varflags} >> "${OUT}" + echo ${var} := ${get} ${varflags} >> "${OUT}" || exit 1 else echo no fi @@ -50,7 +50,7 @@ fcheck() { } OUT=Makefile.inc -> "${OUT}" +> "${OUT}" || exit 1 VAR=GZIP check zopfli || rcheck gzip -9 NO_RUN=1 rcheck apngasm |