jeanfabrice
52f8fc9ba3
legacySupport: Run node 10 with '--experimental_worker' flags ( #4392 )
...
* Run node 10 with '--experimental_worker' flags
* Use dedicated function to retrieve node/npm program version
The goal of this commit is to ensure that any linux based node 10 deployments run with the experimental_worker flag. This flag is required for workers to "work" in node 10. This will not affect other versions of node. This resolves #4335 where Docker would fail due to being based on node 10.
2020-10-06 13:28:11 +01:00
muxator
a181ea8fbe
bin: replace double backticks (``) with $()
...
This has been the recommended way of launching subshells for ages, and is easier
to type and on the eye.
For a quick reference, see:
https://unix.stackexchange.com/questions/5778/whats-the-difference-between-stuff-and-stuff#5782
2020-03-29 00:53:17 +01:00
muxator
0a86024797
startup scripts: get rid of $* and replace it with properly quoted "$@"
...
In shell scripts an unquoted $* is rarely useful, for example because it breaks
in presence of file names with spaces.
References:
- https://google.github.io/styleguide/shell.xml
Use "$@" unless you have a specific reason to use $*.
- https://unix.stackexchange.com/questions/41571/what-is-the-difference-between-and#94200
Short answer: use "$@" (note the double quotes). The other forms are very
rarely useful.
2019-12-01 01:52:32 +01:00
muxator
5f9de6948c
cleanRun.sh: get rid of "Bad substitution" error
...
It was introduced in 4a18f0d97d
(#3356 ).
2018-08-17 22:22:14 +02:00
Bryce York
4a18f0d97d
Fix bug with cleanRun.sh
...
Now works if the output of `pwd` has a space in it.
2018-03-28 22:38:30 +11:00
HairyFotr
c7548450c0
Typos and minor fixes in bin, doc, and root
2017-09-14 13:33:27 +02:00
John McLear
a6a8c4d909
provide a script that cleans up before running to save people doing rm rf src node_modules
2015-04-24 07:07:18 +01:00