summaryrefslogtreecommitdiff
path: root/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 /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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 75106d99b5..b42b21c299 100644
--- a/Makefile
+++ b/Makefile
@@ -564,7 +564,7 @@ hc-file-bundle :
ghc-$(ProjectVersion)/libraries -follow \
\( -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" \) -print > hc-files-to-go
for f in `$(FIND) ghc-$(ProjectVersion)/compiler ghc-$(ProjectVersion)/utils ghc-$(ProjectVersion)/libraries -name "*.hsc" -follow -print` ""; do \
- if test "x$$f" != "x" && test -e `echo "$$f" | sed 's/hsc$$/hs/g'`; then \
+ if test "x$$f" != "x" && test -f `echo "$$f" | sed 's/hsc$$/hs/g'`; then \
echo `echo "$$f" | sed 's/hsc$$/hs/g' ` >> hc-files-to-go ; \
fi; \
done;