Skip to content
New issue

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

16.04安装不了 #39

Open
happyqian opened this issue Jun 7, 2021 · 1 comment
Open

16.04安装不了 #39

happyqian opened this issue Jun 7, 2021 · 1 comment

Comments

@happyqian
Copy link

一个是16.04安装不了,20.04 nginx_add_site.sh 提示 项目名包含非法字符,建议是否能在gitee也能发个。

@yhif
Copy link

yhif commented Jul 8, 2024

一个是16.04安装不了,20.04 nginx_add_site.sh 提示 项目名包含非法字符,建议是否能在gitee也能发个。

bash版本升级,之前的正则不能用,换成这个就可以了
[[ $project =~ ^[a-zA-Z0-9_.\-]+$ ]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants