From d3e65df86feb867943ba11c306fd32a1bc61399f Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 24 Sep 2015 14:34:45 +0200 Subject: [PATCH 011/325] sys/conf/newvers.sh: Do not add git hash derived from .git if KERNEL_VERSION_NUMBER is defined ... as this indicates that we are (trying to) reproduce a build. Do not use the REPRO_SEED for this as it's always set nowadays. XXX: There probably is prettier solution to do this. Obtained from: ElectroBSD --- sys/conf/newvers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 6ec12a8958af..663237787c36 100755 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -175,7 +175,7 @@ for dir in /usr/bin /usr/local/bin; do fi done -if findvcs .git; then +if [ -z "${KERNEL_VERSION_NUMBER}" ] && findvcs .git; then for dir in /usr/bin /usr/local/bin; do if [ -x "${dir}/git" ] ; then git_cmd="${dir}/git -c help.autocorrect=0 --git-dir=${VCSDIR}" -- 2.32.0