HomeFreeBSD

newvers.sh: Avoid picking up stray envars.

Description

newvers.sh: Avoid picking up stray envars.

89f361f742ae added a mechanism to allow arbitrary overrides from the
command line. Unfortunately, it also had the (likely unintended)
effect of allowing RELEASE and VERSION to be passed in from the
environment, and Makefile.inc1 happens to define VERSION for the
benefit of pkgbase. To restore the status quo, unset RELEASE and
VERSION at the top of the script.

Fixes: 89f361f742ae
MFC after: 3 days
Reviewed by: gallatin, sjg, emaste
Differential Revision: https://reviews.freebsd.org/D41845
Approved by: re (gjb)

(cherry picked from commit 9f16abf8d3561cb1a2c459eb6cb8fce06223c9b3)
(cherry picked from commit f92a598782c2f671559a919f353b1505f6fe09ca)

Details

Provenance
desAuthored on Sep 13 2023, 6:10 PM
Reviewer
gallatin
Differential Revision
D41845: newvers.sh: Avoid picking up stray envars.
Parents
rG3d16651a8941: Belatedly document OPIE removal in RELNOTES and UPDATING.
Branches
Unknown
Tags
Unknown