From: Christian Hesse Date: Mon, 6 Jan 2020 09:04:26 +0100 Message-Id: <20200106080426.40701-1-list@...1798...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH 1/1] configure.ac: replace set with env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: OpenVPN Development Cc: Christian Hesse From: Christian Hesse The shell builtin `set` produces different output for different shells: bash$ set | grep '^TERM=' TERM=xterm dash$ set | grep '^TERM=' TERM='xterm' This may break reproducible builds depending on what shell is used. Let's replace `set` with `env`, which is a real command and always produces identical output. Signed-off-by: Christian Hesse --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a47e0a06..f13ff7b6 100644 --- a/configure.ac +++ b/configure.ac @@ -1326,7 +1326,7 @@ if test "${enable_async_push}" = "yes"; then ) fi -CONFIGURE_DEFINES="`set | grep '^enable_.*=' ; set | grep '^with_.*='`" +CONFIGURE_DEFINES="`env | grep '^enable_.*=' ; env | grep '^with_.*='`" AC_DEFINE_UNQUOTED([CONFIGURE_DEFINES], ["`echo ${CONFIGURE_DEFINES}`"], [Configuration settings]) TAP_WIN_COMPONENT_ID="PRODUCT_TAP_WIN_COMPONENT_ID"