瀏覽代碼

] works for foo='bar' bar='b*r' but, apparently, not everything

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 15 年之前
父節點
當前提交
ce06162a47
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/install.sh

+ 1 - 1
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