Skip to content

Commit dccdb66

Browse files
authored
Update build.sh
Edit response condition
1 parent afd4674 commit dccdb66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ echo_vars
4343

4444
# Prompt use it check env vars before proceeding to build
4545
read -r -p "Are the environmental variables correct [y/N] " response
46-
if [[ "$response" =~ ^([nN][oO])$ ]]
46+
if [[ "${response:0:1}" =~ ^([nN])$ ]]
4747
then
4848
exit 0
4949
fi

0 commit comments

Comments
 (0)