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
8f7ad693
Commit
8f7ad693
authored
Apr 16, 2016
by
neil
Browse files
fix compatible for `sh`
parent
eac18b1c
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
8f7ad693
...
...
@@ -50,7 +50,7 @@ _debug() {
}
_debug2() {
if [[ "$DEBUG" -ge "2" ]] ; then
if [[ "$DEBUG"
]] && [[ "$DEBUG"
-ge "2" ]] ; then
_debug "$@"
fi
return
...
...
@@ -735,13 +735,13 @@ _initpath() {
HTTP_HEADER="$LE_WORKING_DIR/http.header"
WGET="wget -q"
if [[ "$DEBUG" -ge "2" ]] ; then
if [[ "$DEBUG"
]] && [[ "$DEBUG"
-ge "2" ]] ; then
WGET="$WGET -d "
fi
dp="$LE_WORKING_DIR/curl.dump"
CURL="curl -L --silent"
if [[ "$DEBUG" -ge "2" ]] ; then
if [[ "$DEBUG"
]] && [[ "$DEBUG"
-ge "2" ]] ; then
CURL="$CURL -L --trace-ascii $dp "
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