Page MenuHomeFreeBSD

newvers.sh: Avoid picking up stray envars.
ClosedPublic

Authored by des on Sep 13 2023, 1:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 7 2024, 12:22 AM
Unknown Object (File)
Apr 30 2024, 8:42 PM
Unknown Object (File)
Apr 30 2024, 8:32 PM
Unknown Object (File)
Apr 30 2024, 8:27 PM
Unknown Object (File)
Apr 30 2024, 8:27 PM
Unknown Object (File)
Apr 30 2024, 6:39 PM
Unknown Object (File)
Apr 30 2024, 10:48 AM
Unknown Object (File)
Apr 22 2024, 11:48 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Sep 13 2023, 1:09 PM
des added reviewers: gordon, cperciva.
This revision is now accepted and ready to land.Sep 13 2023, 1:42 PM

This is likely a good change, though it was handy for detecting when on is 32 running on 64bit kernel... I used it for that not knowing this is a recent change..

Thanks - this should not impact us

This revision was automatically updated to reflect the committed changes.

This should be fine as far as FreeBSD Update builds are concerned.