[ET Trac] [Einstein Toolkit] #901: bashism in ThornDoc

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed May 16 10:54:45 CDT 2012


#901: bashism in ThornDoc
--------------------+-------------------------------------------------------
 Reporter:  knarf   |       Owner:                     
     Type:  defect  |      Status:  new                
 Priority:  minor   |   Milestone:  ET_2012_05         
Component:  Cactus  |     Version:  development version
 Keywords:          |  
--------------------+-------------------------------------------------------
 ThornDoc uses '==' within 'test' to test for something being equal.
 However, for shell scripts this should be '='. This works in bash, since
 it also accepts '==', but it does not work for /bin/sh by default, which
 is what ThornDoc claims to be a script for. The effect is that 'make
 THORN-ThornDoc' prints a lot of warnings.

 The attached patch fixes this by replacing '==' with '='.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/901>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list