Fixed: Correct the Unix command for downloading the Gradle wrapper in README (OFBIZ-13417)#1230
Merged
Merged
Conversation
1ef7c04 to
447d708
Compare
jacopoc
requested changes
May 21, 2026
… README (OFBIZ-13417) The "Quick start" section of README.md documented the Unix command to download the Gradle wrapper as an absolute path (/gradle/init-gradle-wrapper.sh), which makes it fail with "No such file or directory" when run from the OFBiz home directory. Use the relative executable form (./gradle/init-gradle-wrapper.sh), consistent with the other Unix-like commands in the README (e.g. ./gradlew, ./pullPluginSource.sh). The script is executable, so it runs directly.
447d708 to
fbd5202
Compare
Contributor
|
Thank you @visvendra1991, I have merged your Pull Request! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed: Correct the Unix command for downloading the Gradle wrapper in README
(OFBIZ-13417)
Explanation
The "Quick start" section of
README.mddocumented the Unix command to download the Gradle wrapper as an absolute path:The leading slash makes it an absolute path, so running it from the OFBiz home directory fails with
No such file or directory.This changes it to a relative path with the
shprefix:which matches the script's own
--helpusage text (gradle/init-gradle-wrapper.shprintsUsage: sh gradle/init-gradle-wrapper.sh [--help] [--upgrade]) and is consistent with the Windows command shown just above it.Thanks