From 664c12dea3c9077bd9b34b98f396c0c8e5d63db2 Mon Sep 17 00:00:00 2001 From: Andrea Spadaccini Date: Fri, 2 Nov 2018 11:46:55 +0000 Subject: [PATCH] Fix buildandtest.sh to use - instead of / The '/' character will be interpreted as a path start under Linux (and WSL), so change it to a '-'. Tested locally under WSL (Windows Subsystem for Linux). --- buildandtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildandtest.sh b/buildandtest.sh index 47e5e1053..a5501a042 100755 --- a/buildandtest.sh +++ b/buildandtest.sh @@ -15,7 +15,7 @@ export Configuration=release # On linux we don't pack because we can't build for net40. # We just build for CoreCLR and run tests for it. dotnet restore -dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 /property:ExtraDefine="$EXTRADEFINE" /fl /flp:verbosity=detailed +dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build exit $?