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
e0cd2cdb
Commit
e0cd2cdb
authored
Nov 16, 2016
by
neil
Committed by
GitHub
Nov 16, 2016
Browse files
Merge pull request #396 from Neilpang/dev
fix _exists
parents
40a3ae04
7575094c
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
e0cd2cdb
...
...
@@ -249,7 +249,7 @@ _exists() {
fi
if
command
>
/dev/null 2>&1
;
then
command
-v
"
$cmd
"
>
/dev/null 2>&1
elif
which
>
/dev/null 2>&1
;
then
elif
which
ls
>
/dev/null 2>&1
;
then
which
"
$cmd
"
>
/dev/null 2>&1
fi
ret
=
"
$?
"
...
...
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