use test -f instead of test -e since Solaris /bin/sh misses it, reported

* Makefile.am: use test -f instead of test -e since Solaris /bin/sh
  misses it, reported by Peter Bray.
Daniel
This commit is contained in:
Daniel Veillard 2002-10-15 08:43:17 +00:00
parent 96c3a3bf5e
commit 63186735fc
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Tue Oct 15 10:35:57 CEST 2002 Daniel Veillard <daniel@veillard.com>
* Makefile.am: use test -f instead of test -e since Solaris /bin/sh
misses it, reported by Peter Bray.
Mon Oct 14 17:37:32 CEST 2002 Daniel Veillard <daniel@veillard.com>
* tree.c: investigating xmlNodeGetContent() on namespace nodes

View File

@ -623,9 +623,9 @@ C14Ntests : testC14N$(EXEEXT)
name=`basename $$i .xml`; \
echo Testing $$m/$$name; \
cmdline="$(CHECKER) $(top_builddir)/testC14N --$$m $$i"; \
if [ -e $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
if [ -e $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
fi; \
fi; \
@ -682,7 +682,7 @@ cleantar:
@(rm -f libxml*.tar.gz COPYING.LIB)
rpm: cleantar
@(unset CDPATH ; $(MAKE) dist && rpm -ta $(distdir).tar.gz)
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
## We create xml2Conf.sh here and not from configure because we want
## to get the paths expanded correctly. Macros like srcdir are given