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
2d12b689
Commit
2d12b689
authored
Sep 02, 2016
by
neil
Browse files
minor
parent
1643b476
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
2d12b689
...
@@ -46,15 +46,23 @@ fi
...
@@ -46,15 +46,23 @@ fi
__green
()
{
__green
()
{
if
[
-t
1
]
;
then
printf
'\033[1;31;32m'
printf
'\033[1;31;32m'
fi
printf
--
"
$1
"
printf
--
"
$1
"
if
[
-t
1
]
;
then
printf
'\033[0m'
printf
'\033[0m'
fi
}
}
__red
()
{
__red
()
{
if
[
-t
1
]
;
then
printf
'\033[1;31;40m'
printf
'\033[1;31;40m'
fi
printf
--
"
$1
"
printf
--
"
$1
"
if
[
-t
1
]
;
then
printf
'\033[0m'
printf
'\033[0m'
fi
}
}
_info
()
{
_info
()
{
...
...
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