sudo sh genymotion-2.0.1_x86.bin
genymotion-2.0.1_x86.bin: 100: genymotion-2.0.1_x86.bin: [[: not found
genymotion-2.0.1_x86.bin: 106: genymotion-2.0.1_x86.bin: [[: not found
-e
-e Aborting.
我在版本 1.* 上遇到了这个问题,昨天在 2.0 上,今天在 Lubuntu 13.10 x32 上的 2.0.1 上。我已经写信给开发人员,但是如果在 Google 中我找不到任何关于这个问题的信息 - 它只影响我吗?也许我身边有什么不好的东西?
如果我在 Sublime Text 2 中打开这个 .bin 文件,我有这个代码(从第 97 行到第 111 行):
#------------------------------------------------------------------------------
_ask_user() {
local ans=a
while [[ ! "$ans" =~ ^[YyNn]$ ]]
do
echo -ne "$1"
read ans
done
[[ "$ans" =~ ^[Yy]$ ]] && return 0
# if $ans == No
return 1
}
#------------------------------------------------------------------------------