mcrypt-check.sh: Load-option for run-shell-command.
authorMatt Birkholz <matt@birchwood-abbey.net>
Wed, 17 May 2017 23:13:47 +0000 (16:13 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Wed, 17 May 2017 23:13:47 +0000 (16:13 -0700)
src/mcrypt/mcrypt-check.sh

index 2aaa343608bd07d203dadc2a720a5076a22cb967..7660d7542c21a426df24b15888656715b7c2c74b 100755 (executable)
@@ -1,9 +1,12 @@
 #!/bin/sh
+# -*-Scheme-*-
 #
 # Test the MCRYPT option.
 
 set -e
 ${MIT_SCHEME_EXE} --prepend-library . <<\EOF
-(load-option 'MCRYPT)
-(load "mcrypt-check" (->environment '(mcrypt)))
+(begin
+  (load-option 'synchronous-subprocess)
+  (load-option 'mcrypt)
+  (load "mcrypt-check" (->environment '(mcrypt))))
 EOF