]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Partially revert r346018 and use the if/then construct instead of shell.
authorGordon Tetlow <gordon@FreeBSD.org>
Mon, 14 Sep 2020 14:45:30 +0000 (14:45 +0000)
committerGordon Tetlow <gordon@FreeBSD.org>
Mon, 14 Sep 2020 14:45:30 +0000 (14:45 +0000)
commitbfdd0a34ad146e305991ff5f391239b99f7f9324
tree81fce1f992220a2c3704b53156b7c4111b2ffac6
parent39b0f9c38998712e966718795923a84e237ced66
Partially revert r346018 and use the if/then construct instead of shell.

There are a couple of places in the tree that directly parse the newvers.sh
script looking for the BRANCH variable. I found two locations, one in
release/Makefile and the other in bin/freebsd-version/Makefile.

While there is a good argument that BRANCH_OVERRIDE should properly
propagate in those circumstances and the new behavior is thus better, the
reality is this change broke freebsd-update's ability to find timestamps in
binaries and resulted in a large number of gratuitous changes.

Reported by: freebsd-update
Discussed with: cperciva
MFC after: 1 day
sys/conf/newvers.sh