From owner-cvs-src@FreeBSD.ORG Mon Sep 8 01:23:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8455716A4BF; Mon, 8 Sep 2003 01:23:30 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0919843FEC; Mon, 8 Sep 2003 01:23:30 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h888NT0U042302; Mon, 8 Sep 2003 01:23:29 -0700 (PDT) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h888NTtI042301; Mon, 8 Sep 2003 01:23:29 -0700 (PDT) Message-Id: <200309080823.h888NTtI042301@repoman.freebsd.org> From: Ruslan Ermilov Date: Mon, 8 Sep 2003 01:23:29 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make for.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 08:23:30 -0000 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