summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-06-08 07:56:55 +0000
committersimonmar <unknown>2005-06-08 07:56:55 +0000
commit841429e6cf56e00a56e056e974411ff6b4329ce3 (patch)
tree3ddcb0b4de5028739f4368629b703a1a1303e781 /distrib
parent56f5960bd253034cb813ea18da041e61395266bb (diff)
downloadhaskell-841429e6cf56e00a56e056e974411ff6b4329ce3.tar.gz
[project @ 2005-06-08 07:56:55 by simonmar]
use test -f instead of -s, for portability.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/Makefile-bin.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in
index 60a6b941af..ebd59e588c 100644
--- a/distrib/Makefile-bin.in
+++ b/distrib/Makefile-bin.in
@@ -231,7 +231,7 @@ install-bin:
if test -n "$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \
done;
for i in $(PACKAGE_OPT_BINS) ""; do \
- if test -n "$$i" -a ! -s "$(bindir)/$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \
+ if test -n "$$i" -a ! -f "$(bindir)/$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \
done;
@for i in $(VERSION_SYMLINKS_FOR) ""; do \
if [ "x$$i" != "x" ]; then \