Reduces the chmod to one call; removes -v from mkdir calls.
If -v is present and a folder is created, we can end up tripping up Concourse, which is expecting only JSON output on stdout. The output from the folder creation results in an error message like
invalid character 'c' looking for beginning of value
Alternatively, you could slap 1>&2 onto the mkdir -vp command. Let me know if you'd prefer that.
Reduces the chmod to one call; removes -v from mkdir calls.
If -v is present and a folder is created, we can end up tripping up Concourse, which is expecting only JSON output on stdout. The output from the folder creation results in an error message like
invalid character 'c' looking for beginning of value
Alternatively, you could slap
1>&2
onto the mkdir -vp command. Let me know if you'd prefer that.