From 64678e0b7cc800613e64ad4b52032e271d143a9d Mon Sep 17 00:00:00 2001 From: cancel Date: Wed, 29 Jan 2020 06:11:00 +0900 Subject: [PATCH] Fix unbound env variable error in tool script Forgot that our strict options would make this fail. --- tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool b/tool index 1551cea..565b654 100755 --- a/tool +++ b/tool @@ -73,7 +73,7 @@ if [[ $os = cygwin ]]; then # user doesn't have gcc-core installed. I have no idea if that actually # happens. So we'll just explicitly set it to gcc. This might mess up people # who have clang installed but not gcc, I guess? Is that even possible? - case $CC in + case $cc_exe in i686-w64-mingw32-gcc.exe|\ x86_64-w64-mingw32-gcc.exe) cc_exe=gcc;;