-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-build: set -eu and minor refactor #331
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it intentional to leave line 58 (i.e. the read -p line) commented out?
@@ -1,4 +1,5 @@ | |||
#!/usr/bin/env bash | |||
set -eu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set -o errexit
&& set -o nounset
may be a bit more readable.
@@ -56,7 +55,7 @@ if [ -n "$(git status --short .)" ]; then | |||
fi | |||
|
|||
echo "Going to build $img:$ver & $img:latest" | |||
read -p "Press enter to continue, ^C if that's wrong" | |||
#read -p "Press enter to continue, CTRL-c otherwise" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented out?
@FedericoCeratto can you look into addressing the comments in this PR? |
No description provided.