From: Niels Möller Date: Thu, 24 Nov 2005 11:54:11 +0000 (+0100) Subject: (distdir): Use [ -f, not [ -e, since the latter X-Git-Tag: nettle_1.14_release_20051205~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016c7d860e568bf49c6b5e93d51535fcae694e63;p=thirdparty%2Fnettle.git (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 --- diff --git a/ChangeLog b/ChangeLog index 9f828443..57747eaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-24 Niels Möller + + * 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 * 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