bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RCS 5.9.0 does not compile on Solaris


From: Jörn Clausen
Subject: Re: RCS 5.9.0 does not compile on Solaris
Date: Tue, 04 Jun 2013 12:05:33 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.28) Gecko/20120307 Lightning/1.0b2 Thunderbird/3.1.20

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                             address@hidden
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld




reply via email to

[Prev in Thread] Current Thread [Next in Thread]