You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/12/26 13:58:08 UTC
[ofbiz-framework] branch release18.12 updated: Fixed: Gradle Wrapper is not downloaded with 18.12.03 (OFBIZ-12471)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push:
new 0d8de91 Fixed: Gradle Wrapper is not downloaded with 18.12.03 (OFBIZ-12471)
0d8de91 is described below
commit 0d8de9165712b22af096d51abdd8a75db023d56c
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sun Dec 26 14:00:04 2021 +0100
Fixed: Gradle Wrapper is not downloaded with 18.12.03 (OFBIZ-12471)
I guess for a reason David misses the path to WindowsPowerShell as an
environment variable.
Follows advice here:
https://stackoverflow.com/questions/29778121/powershell-is-not-recognized-as-an-internal-or-external-command-operable-progr
Thanks: David S Hunter for report
---
init-gradle-wrapper.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init-gradle-wrapper.bat b/init-gradle-wrapper.bat
index 3440521..188c13a 100755
--- a/init-gradle-wrapper.bat
+++ b/init-gradle-wrapper.bat
@@ -23,4 +23,4 @@ if exist "%~dp0gradle\wrapper\gradle-wrapper.jar" (
exit /b
)
-pwsh -command " Start-Process pwsh -Verb RunAs \""-Command `\""cd '%cd%'; & 'gradle\init-gradle-wrapper.ps1';`\""\"" "
+%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -command " Start-Process pwsh -Verb RunAs \""-Command `\""cd '%cd%'; & 'gradle\init-gradle-wrapper.ps1';`\""\"" "