Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
ce4be4e9
You need to sign in or sign up before continuing.
Commit
ce4be4e9
authored
Nov 17, 2016
by
neil
Browse files
fix _exists
parent
82dc2244
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
ce4be4e9
...
...
@@ -252,7 +252,7 @@ _exists() {
eval type
"
$cmd
"
>
/dev/null 2>&1
elif
command
>
/dev/null 2>&1
;
then
command
-v
"
$cmd
"
>
/dev/null 2>&1
el
if
which which
>
/dev/null 2>&1
;
then
el
se
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