Re: RCS 5.9.0 does not compile on Solaris
Jörn Clausen <[email protected]> Tue, 04 Jun 2013 12:05:33 +0200
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 04.06.13 11:20, Thien-Thi Nguyen wrote:
> The line
>
> #include "b-yacmd.h"
>
> is still not included in the help file.
>
> How about if you add "exit 0" as the last command in extract-help?
Then the include would still be missing.
The problem seems to be the backtick evaluation. Maybe too many
different quotes for Solaris /bin/sh. When I assign the result of the
grep to a variable and check the variable:
check=`grep -c 'CHECK_HV (".*")' "$in"`
if [ $check = 0 ] ; then
echo '#include "b-yacmd.h"'
fi
the condition is never reached. The script bails out silently in the
first line.
--
Jörn Clausen [email protected]
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld