go
go copied to clipboard
Some problems with go.sh ...
- If a user sets an own working directory with some spaces in its pathname, the script will fail in various places due to missing quotes around variables. Isn't it the first rule of shell scripting to never leave a variable unquoted? ;)
-
"Building Docker image '$2'..."will not print the image name (wrong quotes)
@TomNussbaumer thanks for the heads up, should wrap the $PWDs, will do that.
Regarding 2, it prints the image name, are you seeing something different?
Sorry for the second one. Single quotes within double quotes behave as you expect.