Closed RazorBest closed 3 years ago
Sure, but the tests are failing.
I suggest we use bash
everywhere instead of editing scripts to remove double [[:
"sh"
and /bin/sh
yields a lot of results; could you please remove sh
from everywhere where possible?Note: I expect some containers (those based off Alpine) won't have bash already installed. In those cases, it's best to remove the bash features like you did, and maybe document them through a comment (something like # this image doesn't have bash!!1!
)
merged to master
A script inside a nomad template was using exclusive bash syntax, but it was run with /bin/sh. There were 2 solutions: run it with bash or change the script in accordance to POSIX. I chose the second method.