Loading bootstrap-commons.sh +2 −2 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ function generateEnvFile { echo "$QUESTION" if [[ "$PATTERN$INPUT_DIRECTION" = "$VALUE$VALUE" ]] then read | awk '{$1=$1};1' | read INPUT read INPUT < /dev/tty else FIRST=1 while [[ $(echo "$INPUT" | grep -q -P "$PATTERN" && echo ok || echo nok) = "nok" ]]; do Loading @@ -63,7 +63,7 @@ function generateEnvFile { else FIRST=0 fi read | awk '{$1=$1};1' | read INPUT read INPUT < /dev/tty :; done fi echo "$KEY=$INPUT" >> "$ENVFILE" Loading Loading
bootstrap-commons.sh +2 −2 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ function generateEnvFile { echo "$QUESTION" if [[ "$PATTERN$INPUT_DIRECTION" = "$VALUE$VALUE" ]] then read | awk '{$1=$1};1' | read INPUT read INPUT < /dev/tty else FIRST=1 while [[ $(echo "$INPUT" | grep -q -P "$PATTERN" && echo ok || echo nok) = "nok" ]]; do Loading @@ -63,7 +63,7 @@ function generateEnvFile { else FIRST=0 fi read | awk '{$1=$1};1' | read INPUT read INPUT < /dev/tty :; done fi echo "$KEY=$INPUT" >> "$ENVFILE" Loading