shebangs [was: bf_compact...]
David Relson
relson at osagesoftware.com
Sun May 8 21:40:54 CEST 2005
On Sun, 08 May 2005 21:31:56 +0200
Matthias Andree wrote:
> David Relson <relson at users.sourceforge.net> 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!
More information about the bogofilter-dev
mailing list