We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持bash 3.0,要修改2点:
bash
local
+=
a+=xxx
a="$a xxx"
多谢 @khotyn
bash 3.0测试机器信息:
$ bash --version GNU bash, version 3.00.15(1)-release (i386-redhat-linux-gnu) Copyright (C) 2004 Free Software Foundation, Inc. $ uname -a Linux sofatest-1.stack.alipay.net 2.6.9-103.ELxenU #1 SMP Wed Mar 14 16:31:15 CST 2012 i686 i686 i386 GNU/Linux
The text was updated successfully, but these errors were encountered:
fix bash 3.0 compatibility problem of parseOpts.sh #44
12b9d1d
oldratlee
No branches or pull requests
支持
bash
3.0,要修改2点:local
声明数组变量时 要加上 -a+=
不支持,即a+=xxx
改成a="$a xxx"
多谢 @khotyn
bash
3.0下使用有问题bash
3.0的测试机器,以完成环境测试bash
3.0测试机器信息:The text was updated successfully, but these errors were encountered: