Skip to content

Commit

Permalink
fixed GSUTIL_COPY path quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed Jun 25, 2024
1 parent 49c7732 commit 3a03111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step_pipeline/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ def _generate_gcloud_copy_command(self, source_path, output_dir=None, output_pat
else:
raise ValueError("Neither output_path nor output_dir arg was specified")

full_gcloud_copy_command = f"time {gcloud_copy_command} --recursive '{source_path}' '{destination}'"
full_gcloud_copy_command = f"time {gcloud_copy_command} --recursive \"{source_path}\" \"{destination}\""

if ignore_nonzero_exit_code:
gsutil_command_with_error_handling = (
Expand Down

0 comments on commit 3a03111

Please sign in to comment.