Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 01:23:29 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make for.c
Message-ID:  <200309080823.h888NTtI042301@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309080823.h888NTtI042301>