Am I confused or is there a bug in make(1).. ?

Why is 'make foo' failing but 'gmake foo' succeeding?

  $ cat makefile
  foo:
          var1=yes; test "$$var1" = "no" && var2=". $$var2"; echo OK

  $ make foo
  var1=yes; test "$var1" = "no" && var2=". $var2"; echo OK
  *** Error code 1

  Stop in /root.
  $ gmake foo
  var1=yes; test "$var1" = "no" && var2=". $var2"; echo OK
  OK

This happens on -current and -stable.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to