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
b97e1403
Commit
b97e1403
authored
Nov 11, 2016
by
neilpang
Browse files
fix shfmt warnings
parent
e51bef6d
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
b97e1403
...
@@ -249,7 +249,7 @@ _exists() {
...
@@ -249,7 +249,7 @@ _exists() {
fi
fi
if command >/dev/null 2>&1; then
if command >/dev/null 2>&1; then
command -v "$cmd" >/dev/null 2>&1
command -v "$cmd" >/dev/null 2>&1
el
se
which
>
/dev/null 2>&1
;
el
if
which >/dev/null 2>&1;
which "$cmd" >/dev/null 2>&1
which "$cmd" >/dev/null 2>&1
fi
fi
ret="$?"
ret="$?"
...
@@ -259,7 +259,7 @@ _exists() {
...
@@ -259,7 +259,7 @@ _exists() {
#a + b
#a + b
_math() {
_math() {
printf
"%s"
"
$((
$@
))
"
printf "%s" "$(($@))"
}
}
_h_char_2_dec() {
_h_char_2_dec() {
...
...
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