Re: patch for build on Solaris (where /bin/sh is not bash)
"John E. Davis" <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
Petr Sumbera <[email protected]> wrote: > installslang: > @for i in $(CONF_FILES); \ > > Please note, that CONF_FILES is empty. I would rather not rely upon the presence of bash. Does the following patch work for you? Thanks, --John Index: Makefile.in =================================================================== --- Makefile.in (revision 295) +++ Makefile.in (working copy) @@ -186,7 +186,8 @@ fi; \ done installslang: - @for i in $(CONF_FILES); \ + @files=$(CONF_FILES); \ + for i in $$files; \ do \ echo $(INSTALL_DATA) $$i $(DEST_CONFDIR); \ $(INSTALL_DATA) $$i $(DEST_CONFDIR); \ ------------------------------------------------------------------------------