aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-12 08:36:25 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-12 08:36:25 +0200
commitcc572cbda6e92322ac6129d9dc92050c5fb857f9 (patch)
treea3ed23c60e01c6440ea992e966a3c8e3d01ec33d
parentc52a7085595c02be59daba7b10050838d92c509c (diff)
downloadmyconfigs-cc572cbda6e92322ac6129d9dc92050c5fb857f9.tar.gz
myconfigs-cc572cbda6e92322ac6129d9dc92050c5fb857f9.tar.bz2
myconfigs-cc572cbda6e92322ac6129d9dc92050c5fb857f9.zip
Try to fix unknown operand on ash
-rw-r--r--utils/inst2
1 files changed, 1 insertions, 1 deletions
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
}