[genproj] Fix bashism in library.make
[mono.git] / mcs / build / library.make
index 5954ba2e316bc5e872bf4b92d3b0bdbd337a542a..65f11f600f9a8ff790f0e59ed834655300ba1179 100644 (file)
@@ -141,7 +141,7 @@ csproj-local: csproj-library csproj-test
 intermediate_clean=$(subst /,-,$(intermediate))
 csproj-library: 
        config_file=`basename $(LIBRARY) .dll`-$(intermediate_clean)$(PROFILE).input; \
-       [[ $(thisdir) == *"Facades"* ]] && config_file=Facades_$$config_file; \
+       case "$(thisdir)" in *"Facades"*) config_file=Facades_$$config_file;; esac; \
        echo $(thisdir):$$config_file >> $(topdir)/../msvc/scripts/order; \
        (echo $(is_boot); \
        echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \