[svn-r3260] Purpose:

Bug Fix
Description:
    The test ``test -e "filename"'' doesn't work with some Bourne shells
    (for instance, on Arabica).
Solution:
    Changed test to ``test -f "filename"''.
Platforms tested:
    Arabica
This commit is contained in:
Bill Wendling 2001-01-10 12:41:27 -05:00
parent 6e14a21d7c
commit 6188c31c19

View File

@ -67,7 +67,7 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
fi; \
done
@if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
if test -e "hdf5.$(F9XMODEXT)" || test -e "HDF5.$(F9XMODEXT)"; then \
if test -f "hdf5.$(F9XMODEXT)" || test -f "HDF5.$(F9XMODEXT)"; then \
((cp *.$(F9XMODEXT) $(libdir)/. && chmod 644 $(libdir)/*.$(F9XMODEXT)) || exit 1); \
fi; \
fi