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
ab6f1b6d
Unverified
Commit
ab6f1b6d
authored
Oct 09, 2021
by
neil
Committed by
GitHub
Oct 09, 2021
Browse files
Merge pull request #3746 from tuffnatty/patch-1
Don't use global variable as local in recursion context
parents
b36802ed
40e8c5e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
ab6f1b6d
...
...
@@ -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
...
...
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