Re: patch for build on Solaris (where /bin/sh is not bash)

Petr Sumbera <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Yes, it works. Thank you!

Petr

John E. Davis napsal(a):
> 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); \
> 
> ------------------------------------------------------------------------------


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.