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.
This commit is contained in:
Rafael Kitover 2018-11-15 19:22:56 -08:00
parent b9911a5759
commit 115fce6958
1 changed files with 2 additions and 2 deletions

View File

@ -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"