Explorar o código

Merge pull request #720 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/719
neil %!s(int64=8) %!d(string=hai) anos
pai
achega
5fe91af6c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -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/env 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