Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Shields <jo.shields@xamarin.com>2016-02-23 18:01:42 +0300
committerJo Shields <jo.shields@xamarin.com>2016-02-23 18:01:42 +0300
commit79f7cc4813f9d45df305460b2b60f945240dd8a7 (patch)
treecffc6e47cc770c07455ee579048b3b57914f72af
parentba2e5e42f342f2b64fedc3cee2ef925c57c4a325 (diff)
[msvc] %PATH% is sometimes empty in Jenkins, so "powershell" doesn't runmono-4.3.2-branch-msvc
Try using a system-standard default variable which points to the required folder instead.
-rwxr-xr-xmsvc/winsetup.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/msvc/winsetup.bat b/msvc/winsetup.bat
index 336778204f2..184b2c0146e 100755
--- a/msvc/winsetup.bat
+++ b/msvc/winsetup.bat
@@ -4,7 +4,7 @@ if exist config.h if not exist cygconfig.h copy config.h cygconfig.h
if exist eglib\config.h if not exist eglib\cygconfig.h copy eglib\config.h eglib\cygconfig.h
copy winconfig.h config.h
copy eglib\winconfig.h eglib\config.h
-powershell -Command "(Get-Content config.h) -replace '#MONO_VERSION#', (Select-String -path configure.ac -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content config.h"
+%PsModulePath%\..\powershell.exe -Command "(Get-Content config.h) -replace '#MONO_VERSION#', (Select-String -path configure.ac -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content config.h"
goto end
:error
echo fatal error: the VSDepenancies directory was not found in the "mono" directory