Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5fe91af6
Commit
5fe91af6
authored
Mar 13, 2017
by
neil
Committed by
GitHub
Mar 13, 2017
Browse files
Merge pull request #720 from Neilpang/dev
fix
https://github.com/Neilpang/acme.sh/issues/719
parents
dcbd90ce
4dd646a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
5fe91af6
...
...
@@ -4628,7 +4628,7 @@ install() {
#Modify shebang
if
_exists bash
;
then
_info
"Good, bash is found, so change the shebang to use bash as preferred."
_shebang
=
'#!
/usr/bin/en
v bash
'
_shebang
=
'#!
'
"
$(
env
bash
-c
"command -
v bash
"
)
"
_setShebang
"
$LE_WORKING_DIR
/
$PROJECT_ENTRY
"
"
$_shebang
"
for
subf
in
$_SUB_FOLDERS
;
do
if
[
-d
"
$LE_WORKING_DIR
/
$subf
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment