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

include/upgrade_nginx-chacha20.sh中版本检测代码返回值多出3行空行 #20

Open
mikelei8291 opened this issue Nov 19, 2015 · 4 comments
Labels

Comments

@mikelei8291
Copy link
Collaborator

代码

Cur_Nginx_Version=`/usr/local/nginx/sbin/nginx -v 2>&1 | cut -c22-`
Cur_Pgs_Version=`/usr/local/nginx/sbin/nginx -V 2>&1 | cut -c 276-284` #先这样测试一下。。。
Cur_Lbs_Version=`/usr/local/nginx/sbin/nginx -V 2>&1 | cut -c 217-221`

返回值

Current ngx_pagespeed Version:



1.9.32.10
Current Libressl Version:



2.3.0
@BakaChinatsu
Copy link
Owner

orz这个咱不知道该怎么解决QAQ

@mikelei8291
Copy link
Collaborator Author

应该是 cut 的时候剪切多了吧,改一下参数试试?

@BakaChinatsu
Copy link
Owner

咱晚上試試w

Mike Lei notifications@github.com于2015年12月2日周三 02:40写道:

应该是 cut 的时候剪切多了吧,改一下参数试试?


Reply to this email directly or view it on GitHub
#20 (comment)
.

@zhangyubaka
Copy link

添加/n换行?

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

No branches or pull requests

3 participants