[project @ 1997-12-22 15:10:58 by simonm]
authorsimonm <unknown>
Mon, 22 Dec 1997 15:10:58 +0000 (15:10 +0000)
committersimonm <unknown>
Mon, 22 Dec 1997 15:10:58 +0000 (15:10 +0000)
portabilify a test.

Makefile

index ee08e38..2a996f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ BIN_DIST_TOP= distrib/Makefile-bin.in \
 
 binary-dist::
        @for i in $(BIN_DIST_TOP); do \
-         if [ -e $$i ]; then \
+         if test -f "$$i"; then \
             echo cp $$i $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME); \
             cp $$i $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME); \
          fi; \