diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 14:17:37 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 14:17:37 -0400 |
commit | 6047798267b858a76f754642fa276f8cb06965f5 (patch) | |
tree | 5f3ef4c989b0b1af395ccea16ce0a6af30735c84 | |
parent | 55e37cc51cc8f01de22282e00d843fe7a63498ad (diff) | |
download | html5ks-6047798267b858a76f754642fa276f8cb06965f5.tar.xz html5ks-6047798267b858a76f754642fa276f8cb06965f5.zip |
misc
-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 |