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
f8ad8f34
Commit
f8ad8f34
authored
Mar 12, 2016
by
kaklakariada
Browse files
Use variable in error message instead of constructing it again
parent
0705f653
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
f8ad8f34
...
@@ -776,7 +776,7 @@ issue() {
...
@@ -776,7 +776,7 @@ issue() {
addcommand
=
"
$Le_Webroot
-add"
addcommand
=
"
$Le_Webroot
-add"
if
!
command
-v
$addcommand
;
then
if
!
command
-v
$addcommand
;
then
_err
"It seems that your api file is not correct, it must have a function named:
$
Le_Webroot
-ad
d"
_err
"It seems that your api file is not correct, it must have a function named:
$
addcomman
d
"
return
1
return
1
fi
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