From 1f041685338a63d7be1179e59b6807bf4e05e66c Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 24 Sep 2015 14:34:45 +0200 Subject: [PATCH 006/310] 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 8abbea51a0d5..6ffb59fbe23a 100755 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -216,7 +216,7 @@ if [ -z "${svnversion}" ] && [ -x /usr/bin/svnliteversion ] ; then fi fi -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.37.1