mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-14 09:21:27 +00:00
2020-03-03 20:43:38
This commit is contained in:
@@ -279,3 +279,10 @@ bincheck () {
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
# 通过传入一个字符串,取变量名称等于该字符串的变量值
|
||||
function parse_str() {
|
||||
|
||||
[ -z "${1}" ] && echo -n "" || eval echo -n '$'"${1}"
|
||||
|
||||
}
|
||||
|
||||
@@ -3,5 +3,5 @@ appname="mixbox"
|
||||
needver=""
|
||||
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
|
||||
appinfo="一款支持多平台,多架构的Shell工具箱"
|
||||
newinfo="修复由于mbdb导致frpc配置无法识别的bug"
|
||||
version="0.0.7"
|
||||
newinfo="新增功能parse_str,用于解析变量"
|
||||
version="0.0.8"
|
||||
|
||||
Reference in New Issue
Block a user