<<< Date Index >>>     <<< Thread Index >>>

Re: doc build failure



Hi Jukka

On Wed, Sep 13, 2006 at 23:07:31 +0200, Jukka Salmi wrote:

> gmake[4]: Leaving directory `/src/local/mutt/doc'
> ( sed -e "s/@VERSION\@/`cat ../VERSION` (`cut -d\\\" -f2 ../reldate.h`)/" 
> ./manual.xml.head ;\
>           gcc -E [...] -D_MAKEDOC -C ../init.h | ../makedoc -s ) |      \
>                 cat - ./manual.xml.tail > manual.xml
> /bin/ksh: no closing quote

> -     ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\\" -f2 
> ../reldate.h`)/" $(srcdir)/manual.xml.head ;\
> +     ( sed -e "s/@VERSION\@/$$(cat $(top_srcdir)/VERSION) ($$(cut -d\" -f2 
> ../reldate.h))/" $(srcdir)/manual.xml.head ;\

Are you sure that this is what your ksh is choking on? IMO, backticks
are extremely portable across Bourne shells, anything else is not.
("$()" won't work with SunOS's /bin/sh for example.)

Wondering,
Moritz