Check for the existence of msbuild.exe as well.
This commit is contained in:
parent
999a1902eb
commit
f5cbeacdb2
11
install.sh
11
install.sh
@ -165,10 +165,13 @@ fi
|
|||||||
if $omnisharp_completer; then
|
if $omnisharp_completer; then
|
||||||
buildcommand="msbuild"
|
buildcommand="msbuild"
|
||||||
if ! command_exists msbuild; then
|
if ! command_exists msbuild; then
|
||||||
buildcommand="xbuild"
|
buildcommand="msbuild.exe"
|
||||||
if ! command_exists xbuild; then
|
if ! command_exists msbuild.exe; then
|
||||||
echo "msbuild or xbuild is required to build Omnisharp"
|
buildcommand="xbuild"
|
||||||
exit 1
|
if ! command_exists xbuild; then
|
||||||
|
echo "msbuild or xbuild is required to build Omnisharp"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user