Skip to content
Snippets Groups Projects
Commit 016c7d86 authored by Niels Möller's avatar Niels Möller
Browse files

(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
parent 4ebfcf8e
No related branches found
No related tags found
No related merge requests found
2005-11-24 Niels Mller <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 Mller <niels@s3.kth.se> 2005-11-23 Niels Mller <niels@s3.kth.se>
* testsuite/Makefile.in (DISTFILES): Added teardown-env. * testsuite/Makefile.in (DISTFILES): Added teardown-env.
......
...@@ -272,7 +272,7 @@ distdir: $(DISTFILES) ...@@ -272,7 +272,7 @@ distdir: $(DISTFILES)
rm -rf "$(distdir)" rm -rf "$(distdir)"
mkdir "$(distdir)" mkdir "$(distdir)"
set -e; for f in $(DISTFILES) ; do \ 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)" ; \ else cp "$(srcdir)/$$f" "$(distdir)" ; \
fi ; \ fi ; \
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment