(drak)
2014-01-05: bootstrap: fixed success check support-scheme-macro-paren-quoting bootstrap: fixed success check
diff --git a/bootstrap.sh b/bootstrap.sh --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,8 +2,8 @@ # Bootstrap wisp-guile with wisp.py -diff=$(python3 wisp.py wisp-guile.w > 1 && guile 1 wisp-guile.w > 2 && guile 2 wisp-guile.w > wisp.scm && diff 2 wisp.scm) -if [[ x"${diff}" == x ]]; then +diff=$(python3 wisp.py wisp-guile.w > 1 && guile 1 wisp-guile.w > 2 && guile 2 wisp-guile.w > wisp.scm && diff 2 wisp.scm && echo success) +if [[ x"${diff}" == x"success" ]]; then echo "successfully bootstrapped wisp.scm" else echo "failed to bootstrap wisp.scm. diff: " ${diff}