Fix missing -f in test.
authorChris Hanson <org/chris-hanson/cph>
Mon, 30 Aug 2010 09:10:55 +0000 (02:10 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 30 Aug 2010 09:10:55 +0000 (02:10 -0700)
etc/run-three-stages

index 7cc0e275eebc944d43e22a17712d718dd7764142..193a30e3e27ff797b9b87e3e12407292ec2d3c4e 100755 (executable)
@@ -93,7 +93,7 @@ find_stage ()
 find_build_stage ()
 {
     local STAGE=$(pwd)/${1}
-    if [[ -x ${STAGE}/microcode/scheme && ${STAGE}/lib/all.com ]]; then
+    if [[ -x ${STAGE}/microcode/scheme && -f ${STAGE}/lib/all.com ]]; then
        export MIT_SCHEME_EXE=${STAGE}/microcode/scheme
        export MITSCHEME_LIBRARY_PATH=${STAGE}/lib
        return 0