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 Nov 7 2018, 8:36 PM
Parents
rGa42546df8808: Fix rxcsum issue introduced in r338838
Branches
Unknown
Tags
Unknown