Check for the existence of msbuild.exe as well.

This commit is contained in:
Spencer G. Jones 2014-02-12 12:00:27 -07:00
parent 999a1902eb
commit f5cbeacdb2

View File

@ -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