修复软件安装正则问题
This commit is contained in:
parent
8f7d0f4099
commit
b196fdacee
@ -58,7 +58,7 @@ if [[ -z $pick ]];then
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
for i in $pick ; do
|
for i in $pick ; do
|
||||||
if [[ ! $i =~ [1-${#soft_dick[@]}] ]]; then
|
if [[ ! $i =~ [1-$soft_number] ]]; then
|
||||||
echo "输入错误"
|
echo "输入错误"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user