diff options
author | Tamir Duberstein <tamird@gmail.com> | 2017-04-06 15:45:22 -0400 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-04-06 20:14:36 -0700 |
commit | 2e9863531f44bcc96426af71a4d1d23bf88c3e5c (patch) | |
tree | b734f3492b64862fdf890046239be843c55e52c6 /scripts/build | |
parent | cc3fefe5389d81781afbbf05125d4aa7711ebcdb (diff) | |
download | crosstool-ng-2e9863531f44bcc96426af71a4d1d23bf88c3e5c.tar.gz crosstool-ng-2e9863531f44bcc96426af71a4d1d23bf88c3e5c.tar.bz2 crosstool-ng-2e9863531f44bcc96426af71a4d1d23bf88c3e5c.zip |
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
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/libc/mingw.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh index 3379d680..b737b231 100644 --- a/scripts/build/libc/mingw.sh +++ b/scripts/build/libc/mingw.sh @@ -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 |