From: simonmar Date: Wed, 8 Jun 2005 07:56:55 +0000 (+0000) Subject: [project @ 2005-06-08 07:56:55 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~449 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=841429e6cf56e00a56e056e974411ff6b4329ce3 [project @ 2005-06-08 07:56:55 by simonmar] use test -f instead of -s, for portability. --- diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index 60a6b94..ebd59e5 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 \