diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js index 117b5aaf157..75a00cc51e0 100644 --- a/make/conf/jib-profiles.js +++ b/make/conf/jib-profiles.js @@ -1519,7 +1519,7 @@ var getVersionNumbers = function () { var isWsl = function (input) { return ( input.build_osenv == "wsl" || (input.build_os == "linux" - && java.lang.System.getProperty("os.version").contains("Microsoft"))); + && java.lang.System.getProperty("os.version").toLowerCase().contains("microsoft"))); } var error = function (s) {