On Tue, 2009-11-24 at 14:27 +0000, David Aldrich wrote: > if [ $$? > 0 ]; > > but that is no better. Can you see anything obviously wrong with this > please?
Well, one problem is that ">" is a string comparison operator not an integer comparison operator. See the "test" man page for more information on the syntax for shell test conditions. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
