Ocserv-install-script-for-CentOS-RHEL-7 icon indicating copy to clipboard operation
Ocserv-install-script-for-CentOS-RHEL-7 copied to clipboard

运行 sh 时 出现这样的错误

Open xkxf1293 opened this issue 9 years ago • 3 comments

$ sudo sh ocserv-install-script-for-centos7.sh ocserv-install-script-for-centos7.sh: line 4: syntax error near unexpected token newline' ocserv-install-script-for-centos7.sh: line 4:'

xkxf1293 avatar Oct 24 '15 00:10 xkxf1293

请用git下载脚本,或者查看raw然后复制。

On Sat, Oct 24, 2015 at 8:54 AM, Solor Asker [email protected] wrote:

$ sudo sh ocserv-install-script-for-centos7.sh ocserv-install-script-for-centos7.sh: line 4: syntax error near unexpected token newline' ocserv-install-script-for-centos7.sh: line 4:'

— Reply to this email directly or view it on GitHub https://github.com/travislee8964/Ocserv-install-script-for-CentOS-RHEL-7/issues/26 .

travislee89 avatar Oct 24 '15 04:10 travislee89

Thanks. 查看raw, 复制这个地址就ok了。另外请教一下,git 如何操作才可以下载脚本?

xkxf1293 avatar Oct 24 '15 07:10 xkxf1293

git clone On Oct 24, 2015 15:40, "Solor Asker" [email protected] wrote:

Thanks. 查看raw, 复制这个地址就ok了。另外请教一下,git 如何操作才可以下载脚本?

— Reply to this email directly or view it on GitHub https://github.com/travislee8964/Ocserv-install-script-for-CentOS-RHEL-7/issues/26#issuecomment-150773014 .

travislee89 avatar Oct 24 '15 10:10 travislee89