From cc572cbda6e92322ac6129d9dc92050c5fb857f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 12 Sep 2017 08:36:25 +0200 Subject: Try to fix unknown operand on ash --- utils/inst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/inst b/utils/inst index fe4b5d7..5279365 100644 --- a/utils/inst +++ b/utils/inst @@ -8,7 +8,7 @@ ask() { else echo -e -n "\e[1;34m$1? (Y/n) \e[0m" read - [[ $REPLY =~ ^[Yy]?$ ]] + echo "$REPLY" | grep -qE '^[Yy]?$' fi } -- cgit v1.2.3