From 115fce6958a9d2826b1fe277cb82f98eaa21a479 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Thu, 15 Nov 2018 19:22:56 -0800 Subject: [PATCH] builder: do not defer env eval for msys2 host hook Do not defer evaluating $BUILD_ENV in the msys2 host/target environment overrides, as that causes the subsequent eval to try to run the variable as a command. --- tools/win/msys2-builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/win/msys2-builder b/tools/win/msys2-builder index f930bed2..a11d20fa 100755 --- a/tools/win/msys2-builder +++ b/tools/win/msys2-builder @@ -116,7 +116,7 @@ OPWD="\$PWD" export MSYSTEM=MSYS . /etc/profile || : . ~/.bashrc 2>/dev/null || : -\$BUILD_ENV +$BUILD_ENV EOF cd "$OPWD" @@ -132,7 +132,7 @@ OPWD="\$PWD" export MSYSTEM="\$OMSYSTEM" . /etc/profile || : . ~/.bashrc 2>/dev/null || : -\$BUILD_ENV +$BUILD_ENV EOF cd "$OPWD"