[Orca-users] orca 0.27 make error on Solaris 9

David Michaels dragon at raytheon.com
Thu Aug 26 18:28:19 PDT 2004


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.

--Dragon


-- 

	Raytheon 	

	*David P. Michaels*
Senior Multi-Disciplined Engineer II W.H.
NPOESS IS
Platform OS Unix
303.344.6840
720.858.5952 fax
720.521.0561 pager
dragon at raytheon.com <mailto:dragon at raytheon.com> 	*aka "Dragon"*

"I wonder what news is doing..."

 news at newshost <29> ps -fu news      
 news 18624 12367 2 0:00 makehistory 

"News is making history."
      

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20040826/91a78245/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Raytheon.gif
Type: image/gif
Size: 481 bytes
Desc: not available
URL: </pipermail/orca-users/attachments/20040826/91a78245/attachment.gif>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: better-winallator-patch.txt
URL: </pipermail/orca-users/attachments/20040826/91a78245/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: winallator-makefile-patch-again.txt
URL: </pipermail/orca-users/attachments/20040826/91a78245/attachment-0001.txt>


More information about the Orca-users mailing list