summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-08 22:46:18 +0000
committerIan Lynagh <igloo@earth.li>2008-09-08 22:46:18 +0000
commit9c325bab1e7ed7d305a79ef9e366b6ac87b8b1b6 (patch)
treee75e21ad76a2c7a91463c9abc62a97e2c118535a /compiler
parentebf8b86b087dbe219cfb16e7d71ac03132378ee6 (diff)
downloadhaskell-9c325bab1e7ed7d305a79ef9e366b6ac87b8b1b6.tar.gz
Use test -f rather than test -e
Hopefully this will fix the SunOS builbot slave.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 8dced370b4..6ea209be94 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -174,7 +174,7 @@ CONFIGURE_FLAGS_STAGE2 += $(USE_STAGE1_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS)
boot.stage.%: $(PRIMOP_BITS) $(CONFIG_HS) parser/Parser.y
- test -e $(STAGE3_PACKAGE_CONF) || echo "[]" > $(STAGE3_PACKAGE_CONF)
+ test -f $(STAGE3_PACKAGE_CONF) || echo "[]" > $(STAGE3_PACKAGE_CONF)
$(CABAL) configure --distpref dist-stage$* \
$(CONFIGURE_FLAGS_STAGE$*) \
$(INSTALL_DIRS_CONFIGURE_FLAGS) \