summaryrefslogtreecommitdiff
path: root/driver/Makefile
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 /driver/Makefile
parentebf8b86b087dbe219cfb16e7d71ac03132378ee6 (diff)
downloadhaskell-9c325bab1e7ed7d305a79ef9e366b6ac87b8b1b6.tar.gz
Use test -f rather than test -e
Hopefully this will fix the SunOS builbot slave.
Diffstat (limited to 'driver/Makefile')
-rw-r--r--driver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/Makefile b/driver/Makefile
index 3fcb4be556..7e87b89061 100644
--- a/driver/Makefile
+++ b/driver/Makefile
@@ -15,7 +15,7 @@ INPLACE_FILE = $(INPLACE_DATA_DIR)/inplace
boot all ::
$(MKDIRHIER) $(INPLACE_DATA_DIR)
- test -e $(INPLACE_PKG_CONF) || echo "[]" > $(INPLACE_PKG_CONF)
+ test -f $(INPLACE_PKG_CONF) || echo "[]" > $(INPLACE_PKG_CONF)
touch $(INPLACE_FILE)
INSTALL_DATAS += ghc-usage.txt ghci-usage.txt