Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/build.sh,v rcsdiff: /ftp/cvs/cvsroot/src/build.sh,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.107 retrieving revision 1.108 diff -u -p -r1.107 -r1.108 --- src/build.sh 2003/07/16 13:21:47 1.107 +++ src/build.sh 2003/07/18 08:30:07 1.108 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.107 2003/07/16 13:21:47 lukem Exp $ +# $NetBSD: build.sh,v 1.108 2003/07/18 08:30:07 lukem Exp $ # # Copyright (c) 2001-2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -368,8 +368,8 @@ Usage: ${progname} [-EnorUu] [-a arch] [ -r Remove contents of TOOLDIR and DESTDIR before building -T tools Set TOOLDIR to tools. If unset, and TOOLDIR is not set in the environment, ${toolprefix}make will be (re)built unconditionally - -U Set UNPRIVED (build without requiring root privileges) - -u Set UPDATE (do not run "make clean" first). + -U Set MKUNPRIVED=yes (build without requiring root privileges) + -u Set MKUPDATE=yes (do not run "make clean" first). Without this, everything is rebuilt, including the tools. -V v=[val] Set variable \`v' to \`val' -w wrapper Create ${toolprefix}make script as wrapper @@ -507,15 +507,15 @@ parseoptions() ;; -U) - UNPRIVED=yes - export UNPRIVED - makeenv="${makeenv} UNPRIVED" + MKUNPRIVED=yes + export MKUNPRIVED + makeenv="${makeenv} MKUNPRIVED" ;; -u) - UPDATE=yes - export UPDATE - makeenv="${makeenv} UPDATE" + MKUPDATE=yes + export MKUPDATE + makeenv="${makeenv} MKUPDATE" ;; -V) @@ -736,8 +736,8 @@ validatemakeparams() fi if ${do_build} || ${do_distribution} || ${do_release}; then if ! ${do_expertmode} && \ - [ $(id -u 2>/dev/null) -ne 0 ] &&\ - [ -z "${UNPRIVED}" ] ; then + [ $(id -u 2>/dev/null) -ne 0 ] && \ + [ -z "${MKUNPRIVED}" ] ; then bomb "-U or -E must be set for build as an unprivileged user." fi fi @@ -792,7 +792,7 @@ createmakewrapper() eval cat <