From 016c7d860e568bf49c6b5e93d51535fcae694e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Thu, 24 Nov 2005 12:54:11 +0100 Subject: [PATCH] (distdir): Use [ -f, not [ -e, since the latter is less portable, and not supported by Solaris /bin/sh. Rev: src/nettle/ChangeLog:1.375 Rev: src/nettle/Makefile.in:1.29 --- ChangeLog | 5 +++++ Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9f828443..57747eaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-24 Niels M�ller <niels@s3.kth.se> + + * Makefile.in (distdir): Use [ -f, not [ -e, since the latter + is less portable, and not supported by Solaris /bin/sh. + 2005-11-23 Niels M�ller <niels@s3.kth.se> * testsuite/Makefile.in (DISTFILES): Added teardown-env. diff --git a/Makefile.in b/Makefile.in index 2384fa99..667af824 100644 --- a/Makefile.in +++ b/Makefile.in @@ -272,7 +272,7 @@ distdir: $(DISTFILES) rm -rf "$(distdir)" mkdir "$(distdir)" set -e; for f in $(DISTFILES) ; do \ - if [ -e "$$f" ] ; then cp "$$f" "$(distdir)" ; \ + if [ -f "$$f" ] ; then cp "$$f" "$(distdir)" ; \ else cp "$(srcdir)/$$f" "$(distdir)" ; \ fi ; \ done -- GitLab