Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
This commit is contained in:
commit
905f7f4ecc
2
acme.sh
2
acme.sh
@ -4628,7 +4628,7 @@ install() {
|
|||||||
#Modify shebang
|
#Modify shebang
|
||||||
if _exists bash; then
|
if _exists bash; then
|
||||||
_info "Good, bash is found, so change the shebang to use bash as preferred."
|
_info "Good, bash is found, so change the shebang to use bash as preferred."
|
||||||
_shebang='#!/usr/bin/env bash'
|
_shebang='#!'"$(env bash -c "command -v bash")"
|
||||||
_setShebang "$LE_WORKING_DIR/$PROJECT_ENTRY" "$_shebang"
|
_setShebang "$LE_WORKING_DIR/$PROJECT_ENTRY" "$_shebang"
|
||||||
for subf in $_SUB_FOLDERS; do
|
for subf in $_SUB_FOLDERS; do
|
||||||
if [ -d "$LE_WORKING_DIR/$subf" ]; then
|
if [ -d "$LE_WORKING_DIR/$subf" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user