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)
Thu, Nov 7, 5:25 PM
Unknown Object (File)
Mon, Oct 28, 6:33 PM
Unknown Object (File)
Thu, Oct 24, 3:17 PM
Unknown Object (File)
Oct 7 2024, 10:20 PM
Unknown Object (File)
Sep 28 2024, 7:50 AM
Unknown Object (File)
Sep 24 2024, 9:28 AM
Unknown Object (File)
Sep 15 2024, 10:49 PM
Unknown Object (File)
Sep 14 2024, 10:15 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 53573
Build 50464: arc lint + arc unit

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.