Browse Source
Merge pull request #3746 from tuffnatty/patch-1
Don't use global variable as local in recursion context
pull/3756/head
neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
acme.sh
|
|
@ -3168,7 +3168,7 @@ _checkConf() { |
|
|
|
for included in $(cat "$2" | tr "\t" " " | grep "^ *include *.*;" | sed "s/include //" | tr -d " ;"); do |
|
|
|
_debug "check included $included" |
|
|
|
if ! _startswith "$included" "/" && _exists dirname; then |
|
|
|
_relpath="$(dirname "$_c_file")" |
|
|
|
_relpath="$(dirname "$2")" |
|
|
|
_debug "_relpath" "$_relpath" |
|
|
|
included="$_relpath/$included" |
|
|
|
fi |
|
|
|