Commit c01e45da authored by Douglas Royds's avatar Douglas Royds Committed by Howard Chu
Browse files

ITS#8928 Reproducibility: Remove user, hostname, pwd from version string

When attempting a reproducible build, replace the WHOWHERE value with something
fixed, "openldap". If you're not trying to do a reproducible build,
SOURCE_DATE_EPOCH won't be set, so the existing WHOWHERE string will apply.
parent de998c35
...@@ -50,7 +50,12 @@ if test $# != 1 ; then ...@@ -50,7 +50,12 @@ if test $# != 1 ; then
fi fi
WHOWHERE="$USER@`uname -n`:`pwd`" # Reproducible builds set SOURCE_DATE_EPOCH, want constant strings
if [ -n "${SOURCE_DATE_EPOCH}" ]; then
WHOWHERE="$USER@$(uname -n):$(pwd)"
cat << __EOF__ cat << __EOF__
/* This work is part of OpenLDAP Software <>. /* This work is part of OpenLDAP Software <>.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment