diff options
-rw-r--r-- | fortran/config/conclude.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in index 5d26ae5..2d0acde 100644 --- a/fortran/config/conclude.in +++ b/fortran/config/conclude.in @@ -67,11 +67,9 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir) fi; \ done @if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \ - for f in X *.$(F9XMODEXT); do \ - if test $$f != X; then \ - ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \ - fi; \ - done; \ + if test -e "*.$(F9XMODEXT)"; then \ + ((cp *.$(F9XMODEXT) $(libdir)/. && chmod 644 $(libdir)/*.$(F9XMODEXT)) || exit 1); \ + fi; \ fi @if test -f libhdf5.settings; then \ (set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \ |