[Orca-users] orca 0.27 make error on Solaris 9
Blair Zajac
blair at orcaware.com
Sat Aug 28 13:05:27 PDT 2004
David Michaels wrote:
> Blair Zajac wrote:
>
>> David Michaels wrote:
>>
>>> Addendum:
>>>
>>> Note that a very common workaround for this sort of "this variable
>>> might be empty" problem is to do the following:
>>>
>>> if test "x$variable" != "x"; then
>>> do stuff
>>> fi
>>>
>> I think what I'll do is something like this:
>>
>> if test "`echo $variable`" != ""; then
>> do stuff
>> fi
>>
>> since the command line processing code will ignore whitespace.
>>
>> Can you give this a shot and see if it works?
>>
>
>
> A fine idea! And yes, it worked. Attaching patch files. I also used
> the same logic in the for loop, and added a loop-ending tag EOL along
> with a test for the tag in the body of the loop.
>
> Murali -- if you haven't applied my patch yet, apply the one I'm
> attaching first (better-winallator-patch.txt). If you have already
> applied my patch, I have a second patch
> (winallator-makefile-patch-again.txt), which will take the first fix
> and turn it into the new fix.
>
I ended up patching all the data_gatherers/Makefile.in files to fix this
issue. The checked in work doesn't include the EOL tag.
The new code was checked into Subversion in revision 385. Get it in the
latest snapshot release.
Let me know how it works.
Blair
More information about the Orca-users
mailing list