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
b19ba13a
Commit
b19ba13a
authored
Sep 27, 2016
by
neil
Browse files
fix for Mac osx
parent
30bfc2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b19ba13a
...
...
@@ -104,7 +104,8 @@ _info() {
_err() {
_log "$@"
__red
"
$(
_printargs
"
$@
"
)
\n
"
>
&2
__red "$(_printargs "$@")" >&2
printf "\n" >&2
return 1
}
...
...
@@ -844,8 +845,11 @@ _time() {
_mktemp() {
if _exists mktemp ; then
mktemp
return
if mktemp 2>/dev/null ; then
return
elif _contains "$(mktemp 2>&1)" "-t prefix" && mktemp -t "$PROJECT_NAME" 2>/dev/null ; then
return
fi
fi
if [ -d "/tmp" ] ; then
echo "/tmp/${PROJECT_NAME}wefADf24sf.$(_time).tmp"
...
...
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