libc/mingw: quote variable in comparison

Building with CT_MINGW_TOOLS unset before this change produces:

	/usr/local/ct-ng/lib/crosstool-ng-1.23.0-rc2/scripts/build/libc/mingw.sh: line 212: [: =: unary operator expected
This commit is contained in:
Tamir Duberstein 2017-04-06 15:45:22 -04:00 committed by Alexey Neyman
parent cc3fefe538
commit 2e9863531f

View File

@ -209,7 +209,7 @@ do_libc()
CT_EndStep
fi
if [ ${CT_MINGW_TOOLS} = "y" ]; then
if [ "${CT_MINGW_TOOLS}" = "y" ]; then
CT_DoStep INFO "Installing mingw-w64 companion tools"
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-tools"
do_mingw_tools