aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-07-23 23:10:52 +1000
committeronefang2019-07-23 23:10:52 +1000
commit1c2871fd784b6665d902a58b8f088aee86321629 (patch)
treeffdab4e8906c1b007f375ad3097c62dc5ec3b0e2
parentTPs from scripts avoid all that silly raycasting nonsense, just go where we ask. (diff)
downloadopensim-SC_OLD-1c2871fd784b6665d902a58b8f088aee86321629.zip
opensim-SC_OLD-1c2871fd784b6665d902a58b8f088aee86321629.tar.gz
opensim-SC_OLD-1c2871fd784b6665d902a58b8f088aee86321629.tar.bz2
opensim-SC_OLD-1c2871fd784b6665d902a58b8f088aee86321629.tar.xz
Updated for Mono 6.
-rwxr-xr-xBuildIt.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/BuildIt.sh b/BuildIt.sh
index aa41594..c51a349 100755
--- a/BuildIt.sh
+++ b/BuildIt.sh
@@ -18,11 +18,11 @@ find -name *.csproj | xargs sed -i "s@Microsoft.CSHARP.Targets@Microsoft.CSharp.
18# Debian no longer provides nant. 18# Debian no longer provides nant.
19#./nant-color 19#./nant-color
20 20
21if [ "5" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then 21if [ "4" == $(mono -V | head -n 1 | cut -d ' ' -f 5 | cut -d '.' -f 1) ]; then
22 # Use this for Mono 5.
23 msbuild /p:Configuration=Release
24else
25 export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue 22 export XBUILD_COLORS=errors=brightred,warnings=yellow,events=blue
26 xbuild /target:clean 23 xbuild /target:clean
27 xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5" 24 xbuild /p:TargetFrameworkVersion="v4.5"xbuild /p:TargetFrameworkVersion="v4.5"
25else
26 # Use this for Mono 5 and later.
27 msbuild /p:Configuration=Release
28fi 28fi