diff --git a/Documentation/BuildingOnWindows.md b/Documentation/BuildingOnWindows.md index 8de0430..e697d48 100644 --- a/Documentation/BuildingOnWindows.md +++ b/Documentation/BuildingOnWindows.md @@ -22,7 +22,7 @@ ``` * If Python is not installed: ```bat - powershell.exe -File Scripts\Install\InstallWindows.ps1 [-upgrade] + powershell.exe -ExecutionPolicy Bypass -File Scripts\Install\InstallWindows.ps1 [-upgrade] ``` Use the `--upgrade` switch (Python), or the `-upgrade` switch (PowerShell) to refresh packages at a later date. diff --git a/Scripts/build.py b/Scripts/build.py index 413246f..4c6057e 100755 --- a/Scripts/build.py +++ b/Scripts/build.py @@ -17,7 +17,7 @@ def configureSubmodules(): print( statusBefore ) utility.runCommand( "git submodule update --init --remote --recursive" ) - utility.runCommand( "git submodule foreach --recursive \"git fetch --tags\"" ) + utility.runCommand( "git submodule foreach --recursive \"git fetch --tags -f\"" ) if config.productCheckout: os.chdir( config.productRepoPath )