-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added quotes around ${JAVA_PATH} in liquibase shell script to avoid spaces in path issues #1062
Conversation
…e are spaces in the JAVA_PATH when using Emulators like "Git bash for Windows". This fix will prevent having issues with spaces in JAVA_PATH, when running Liquibase commands in Windows with Linux/Unix like Emulators such as: "Git bash for Windows" or "Minimalist GNU for Windows".
Thanks for your pull request! The team will review this and add comments with a status update soon. Can you supply details about how this has been tested so far? |
|
hey @szandany -- thanks for the update. Do you want this PR into master or 3.8.x? |
|
Well, the next 3.8.x release will come before the next Master release (altho likely by only a few weeks.) If you redirect this to a 3.8.x branch, we can see if it makes it in before next releases heads into final testing. I would choose 3.8.x, but up to you @szandany |
Codecov Report
@@ Coverage Diff @@
## master #1062 +/- ##
=========================================
Coverage 47.71% 47.71%
- Complexity 7476 7477 +1
=========================================
Files 757 757
Lines 36278 36278
Branches 6624 6624
=========================================
+ Hits 17310 17311 +1
Misses 16660 16660
+ Partials 2308 2307 -1
Continue to review full report at Codecov.
|
Branch: Liquibase/master
Added quotes around ${JAVA_PATH} in line 77 to avoid issues when there are spaces in the JAVA_PATH when using Emulators like "Git bash for Windows".
This fix will prevent having issues with spaces in JAVA_PATH. For example: when running Liquibase commands in Windows with Linux/Unix like Emulators such as: "Git bash for Windows" or "Minimalist GNU for Windows" with preexisting spaces in the JAVA_PATH.
┆Issue is synchronized with this Jira Bug by Unito
┆fixVersions: Community 4.3.0,Liquibase 4.3.0