Fix minor safety issues in built-in patches (#3155)
* Add shebang line for all patches
* Properly double-quote variables used on the command line
* Use different debug port for debug CE and Web
* Add double-quotes around long -agentlib option too
Fix quoting issues causing a failure in OSX, and other quality issues (#2851)
* Avoid useless cat
* Properly quote command line arguments
* Use [ \t] instead of \s for BSD sed
* Do not delete commented out property settings, by matching strictly at start of line
* Add forgotten double-quotes
* Explicitly escape \t (advice by shellcheck.net)
- environment is more stable through time (no variations of build
durations)
- benefit from 8Gb ramdisk
- enable parallel Maven build thanks to new CPUs
- environment is more stable through time (no variations of build
durations)
- benefit from 8Gb ramdisk
- enable parallel Maven build thanks to new CPUs
This reverts commit b66e224d79.
if FILE variable contains bash variables (such as $HOME) they are not resolved and script fails (because of 'set -euo pipefail')
[script] make property_utils.sh run on OSX + improve "if grep"
Now works on OSX: inline is required since in OSX providing '' as variable does not work.
More reliable OS independent version of this script.
Fixed incorrect backslash count in REGEX variable
Applied recommendations for "if grep" http://mywiki.wooledge.org/BashPitfalls#if_.5Bgrep_foo_myfile.5D