From f5cbeacdb2f0b990fa9d2540bf4740aec76bfd1d Mon Sep 17 00:00:00 2001 From: "Spencer G. Jones" Date: Wed, 12 Feb 2014 12:00:27 -0700 Subject: [PATCH] Check for the existence of msbuild.exe as well. --- install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index faab6f27..6ba211c4 100755 --- a/install.sh +++ b/install.sh @@ -165,10 +165,13 @@ fi if $omnisharp_completer; then buildcommand="msbuild" if ! command_exists msbuild; then - buildcommand="xbuild" - if ! command_exists xbuild; then - echo "msbuild or xbuild is required to build Omnisharp" - exit 1 + buildcommand="msbuild.exe" + if ! command_exists msbuild.exe; then + buildcommand="xbuild" + if ! command_exists xbuild; then + echo "msbuild or xbuild is required to build Omnisharp" + exit 1 + fi fi fi