summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-30 14:17:37 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-30 14:17:37 -0400
commit6047798267b858a76f754642fa276f8cb06965f5 (patch)
tree5f3ef4c989b0b1af395ccea16ce0a6af30735c84
parent55e37cc51cc8f01de22282e00d843fe7a63498ad (diff)
downloadhtml5ks-6047798267b858a76f754642fa276f8cb06965f5.tar.xz
html5ks-6047798267b858a76f754642fa276f8cb06965f5.zip
misc
-rwxr-xr-xast2json/rpyc2json.py2
-rwxr-xr-xconfigure4
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
diff --git a/configure b/configure
index 1658977..3c060b2 100755
--- a/configure
+++ b/configure
@@ -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