shebangs [was: bf_compact...]

David Relson <[email protected]>
Newsgroups gmane.mail.bogofilter.devel
Organization Osage Software Systems, Inc.
Message-ID <[email protected]>
On Sun, 08 May 2005 21:31:56 +0200
Matthias Andree wrote:

> David Relson <[email protected]> writes:
> 
> > Update of /cvsroot/bogofilter/bogofilter/src
> > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30249
> >
> > Modified Files:
> > 	bf_compact 
> > Log Message:
> > Another fix for ksh on Solaris 9.
> >
> > Index: bf_compact
> > ===================================================================
> > RCS file: /cvsroot/bogofilter/bogofilter/src/bf_compact,v
> > retrieving revision 1.17
> > retrieving revision 1.18
> > diff -u -d -r1.17 -r1.18
> > --- bf_compact	7 May 2005 14:12:12 -0000	1.17
> > +++ bf_compact	7 May 2005 14:16:28 -0000	1.18
> > @@ -41,10 +41,10 @@
> >  
> >  TEMP="bf_compact.$$"
> >  
> > -if ! mkdir "$TEMP" ; then
> 
> This problem, too, is the result of not using Solaris' /usr/xpg4/bin/sh.
> 
> We could use something like this as a simple check:
> /path/to/sh -c 'if ! false ; then echo $(echo OK) ; fi'
> 
> Any objections to letting configure.ac figure the proper shell and awk
> path and toss the bf_* scripts through config.status to get proper
> shebangs?

Go for it!
_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev
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.