HomeFreeBSD

newvers.sh: avoid regenerating vers.c if content unchanged

Description

newvers.sh: avoid regenerating vers.c if content unchanged

When reproducible build mode is enabled vers.c may be unchanged between
successive builds. In this case avoid changing the file's metadata so
that it does not cause dependent targets to be rebuilt.

Sponsored by: The FreeBSD Foundation
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D17892

Details

Provenance
emasteAuthored on
Reviewer
imp
Differential Revision
D17892: newvers.sh: avoid regenerating vers.c if content unchanged
Parents
rS340237: MFC r335844:
Branches
Unknown
Tags
Unknown