cvs commit: src/usr.bin/make for.c

Ruslan Ermilov ru at FreeBSD.org
Mon Sep 8 01:23:30 PDT 2003


ru          2003/09/08 01:23:29 PDT

  FreeBSD src repository

  Modified files:
    usr.bin/make         for.c 
  Log:
  Command line variables take precedence over global variables.
  Make this true in the .for loops too.  The following fragment,
  
          FOO=    foo bar
  
          all:
          .for f in ${FOO}
                  @echo ${f}
          .endfor
  
  when run as "make FOO=xxx" should print "xxx".  (OpenBSD had
  this bug fixed for some time.)
  
  Revision  Changes    Path
  1.20      +1 -1      src/usr.bin/make/for.c


More information about the cvs-src mailing list