[project @ 1996-07-25 20:43:49 by partain]
[ghc-hetmet.git] / glafp-utils / Makefile.BOOT
index de3ff7a..7ba6e16 100644 (file)
@@ -39,7 +39,7 @@ JMAKE_CMD = $(NEWTOP)$(JMAKE) -I$(NEWTOP)$(JMAKESRC) $(BOOTSTRAPCFLAGS) -DTopDir
 Makefile:: $(JMAKE)
 
 $(JMAKE):
-       @(cd $(JMAKESRC); if [ -f Makefile ]; then \
+       @(cd $(JMAKESRC) && if [ -f Makefile ]; then \
        echo "checking $@ in $(JMAKESRC) first..."; $(MAKE) all; else \
        echo "bootstrapping $@ from Makefile.BOOT in $(JMAKESRC) first..."; \
        $(MAKE) -f Makefile.BOOT BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \