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
951bd3a5
Commit
951bd3a5
authored
Jun 03, 2019
by
neilpang
Browse files
minor, check for mkdir
parent
2e3ddd3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/docker.sh
View file @
951bd3a5
...
...
@@ -195,7 +195,10 @@ _docker_cp() {
_info
"Copying file from
$_from
to
$_to
"
_dir
=
"
$(
dirname
"
$_to
"
)
"
_debug2 _dir
"
$_dir
"
_docker_exec
"
$_dcid
"
mkdir
-p
"
$_dir
"
if
!
_docker_exec
"
$_dcid
"
mkdir
-p
"
$_dir
"
;
then
_err
"Can not create dir:
$_dir
"
return
1
fi
if
[
"
$_USE_DOCKER_COMMAND
"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
;
then
_docker_exec
"
$_dcid
"
tee
"
$_to
"
<
"
$_from
"
...
...
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