From 56f5960bd253034cb813ea18da041e61395266bb Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 7 Jun 2005 15:06:59 +0000 Subject: [PATCH] [project @ 2005-06-07 15:06:59 by simonmar] Remove some non-portable uses of /bin/test, from Christian Maeder. --- distrib/Makefile-bin.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index 197a2e1..60a6b94 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -173,7 +173,7 @@ config-pkgs :: $(SED) -e "s|\$$libdir|$(libdir)|g;s|\$$datadir|$(datadir)|g" lib/$(platform)/$$i; \ fi; \ done - @if test "$(platform)" == "powerpc-apple-darwin"; then \ + @if test "$(platform)" = "powerpc-apple-darwin"; then \ echo "Configuring install names..."; \ for i in lib/$(platform)/*; do \ sh fix_install_names.sh "$(libdir)" "$$i"; \ @@ -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 ! -e "$(bindir)/$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \ + if test -n "$$i" -a ! -s "$(bindir)/$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \ done; @for i in $(VERSION_SYMLINKS_FOR) ""; do \ if [ "x$$i" != "x" ]; then \ -- 1.7.10.4