From ce06162a47a7bfc4ec9d955b5eaa6526996f98c9 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 20 Nov 2010 19:34:09 +0000 Subject: ] works for foo='bar' bar='b*r' but, apparently, not everything Signed-off-by: Thorsten Glaser --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 2665c30c5..87fef1373 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -174,7 +174,7 @@ case $ostype { } mount | while read dev rest; do - [[ $dev = $match ]] || continue + eval [[ \$dev = $match ]] || continue print -u2 "Block device $tgt is in use, please umount first." exit 1 done -- cgit v1.2.3