From: Matt Birkholz Date: Wed, 25 May 2016 21:50:41 +0000 (-0700) Subject: plugin Makefile.am: Do not ignore an error in compile.sh. X-Git-Tag: mit-scheme-pucked-9.2.12~261^2~46 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c6f0859633b91b69328b60ddf1c87d69705d1852;p=mit-scheme.git plugin Makefile.am: Do not ignore an error in compile.sh. --- diff --git a/src/blowfish/Makefile.am b/src/blowfish/Makefile.am index 2781e7050..12edf6d16 100644 --- a/src/blowfish/Makefile.am +++ b/src/blowfish/Makefile.am @@ -75,9 +75,9 @@ blowfish.com: stamp-scheme blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) blowfish.pkg touch stamp-scheme - echo '(load "compile.scm")' \ - | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \ - || rm stamp-scheme + if ! echo '(load "compile.scm")' \ + | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode; then \ + rm stamp-scheme; exit 1; fi CLEANFILES = blowfish-const* blowfish-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/gdbm/Makefile.am b/src/gdbm/Makefile.am index c8b518c1d..47f60794e 100644 --- a/src/gdbm/Makefile.am +++ b/src/gdbm/Makefile.am @@ -75,9 +75,9 @@ gdbm.com: stamp-scheme gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) gdbm.pkg touch stamp-scheme - echo '(load "compile.scm")' \ - | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \ - || rm stamp-scheme + if ! echo '(load "compile.scm")' \ + | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode; then \ + rm stamp-scheme; exit 1; fi CLEANFILES = gdbm-const* gdbm-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/mcrypt/Makefile.am b/src/mcrypt/Makefile.am index ac96b1b54..6f3fbfa2f 100644 --- a/src/mcrypt/Makefile.am +++ b/src/mcrypt/Makefile.am @@ -75,9 +75,9 @@ mcrypt.com: stamp-scheme mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) mcrypt.pkg touch stamp-scheme - echo '(load "compile.scm")' \ - | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \ - || rm stamp-scheme + if ! echo '(load "compile.scm")' \ + | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode; then \ + rm stamp-scheme; exit 1; fi CLEANFILES = mcrypt-const* mcrypt-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/md5/Makefile.am b/src/md5/Makefile.am index 30394e198..263868aa9 100644 --- a/src/md5/Makefile.am +++ b/src/md5/Makefile.am @@ -75,9 +75,9 @@ md5.com: stamp-scheme md5-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) md5.pkg touch stamp-scheme - echo '(load "compile.scm")' \ - | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \ - || rm stamp-scheme + if ! echo '(load "compile.scm")' \ + | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode; then \ + rm stamp-scheme; exit 1; fi CLEANFILES = md5-const* md5-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd diff --git a/src/mhash/Makefile.am b/src/mhash/Makefile.am index 414cb0e1c..fb3e6c9d7 100644 --- a/src/mhash/Makefile.am +++ b/src/mhash/Makefile.am @@ -75,9 +75,9 @@ mhash.com: stamp-scheme mhash-@MIT_SCHEME_OS_SUFFIX@.pkd: stamp-scheme stamp-scheme: stamp-shim $(sources) mhash.pkg touch stamp-scheme - echo '(load "compile.scm")' \ - | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode \ - || rm stamp-scheme + if ! echo '(load "compile.scm")' \ + | $(MIT_SCHEME_EXE) --prepend-library . --batch-mode; then \ + rm stamp-scheme; exit 1; fi CLEANFILES = mhash-const* mhash-shim.c CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd