Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] BUG: windows: docker changed conventions for paths #218

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scripts/docker_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ function copy_xauthority_file_fail {
print_header_message_short "Copying Xauthority file into container... "
COMMAND=(4 "$docker_cmd" "cp" "$__xauthority_path" "$HNN_CONTAINER_NAME:$__container_xauthority_path")
convert_COMMAND_to_escaped_array
MSYS_NO_PATHCONV=1 output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
fail_on_bad_exit $?
if [[ "$CONTAINER_TYPE" == "windows" ]]; then
start_container_silent
Expand Down Expand Up @@ -1191,7 +1191,7 @@ function copy_hnn_source_fail {
print_header_message_short "Copying hnn_source_code into container... "
COMMAND=(4 "$docker_cmd" "cp" "$__current_directory" "$HNN_CONTAINER_NAME:/home/hnn_user/hnn_source_code/")
convert_COMMAND_to_escaped_array
MSYS_NO_PATHCONV=1 output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
fail_on_bad_exit $?
if [[ "$CONTAINER_TYPE" == "windows" ]]; then
start_container_silent
Expand Down Expand Up @@ -1254,7 +1254,7 @@ function copy_hnn_out_fail {
print_header_message_short "Copying hnn_out into container... "
COMMAND=(4 "$docker_cmd" "cp" "$__hnn_out_contents" "$HNN_CONTAINER_NAME:$__hnn_out")
convert_COMMAND_to_escaped_array
MSYS_NO_PATHCONV=1 output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
fail_on_bad_exit $?
if [[ "$CONTAINER_TYPE" == "windows" ]]; then
start_container_silent
Expand Down Expand Up @@ -1325,13 +1325,13 @@ function copy_ssh_files_to_container_fail {
print_header_message_short "Copying authorized_keys file into container... "
COMMAND=(4 "$docker_cmd" "cp" "$__authkeys" "$HNN_CONTAINER_NAME:/home/hnn_user/.ssh/authorized_keys")
convert_COMMAND_to_escaped_array
MSYS_NO_PATHCONV=1 output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
fail_on_bad_exit $?

print_header_message_short "Copying known_hosts file into container... "
COMMAND=(4 "$docker_cmd" "cp" "$__pubkey" "$HNN_CONTAINER_NAME:/home/hnn_user/.ssh/known_hosts")
convert_COMMAND_to_escaped_array
MSYS_NO_PATHCONV=1 output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
output_run_command_arguments "${ESCAPED_COMMAND[@]}" &> /dev/null
fail_on_bad_exit $?
if [[ "$CONTAINER_TYPE" == "windows" ]]; then
start_container_silent
Expand Down