Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 022410c1 authored by Felix's avatar Felix
Browse files

Set -P for grep to support all regexes

parent 9f96e1ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ function generateEnvFile {
                        read INPUT < /dev/tty
                    else
                        FIRST=1
                        while [[ $(echo "$INPUT" | grep -q "$PATTERN" && echo ok || echo nok) = "nok" ]]; do
                        while [[ $(echo "$INPUT" | grep -q -P "$PATTERN" && echo ok || echo nok) = "nok" ]]; do
                            if [[ ${FIRST} != "1" ]]
                            then
                                echo "$INPUT_DIRECTION"