Skip to content

Commit

Permalink
fix(python): use '\' for string escapes (#3335)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Jan 21, 2021
1 parent f3dedfb commit 92a3652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/py_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _py_gapic_postprocessed_srcjar_impl(ctx):
zip -q -r {output_dir_name}-smoke-test.srcjar empty_file
zip -d {output_dir_name}-smoke-test.srcjar empty_file
fi
zip -q -r {output_dir_name}.srcjar . -i \*.py
zip -q -r {output_dir_name}.srcjar . -i \\*.py
popd
mv {output_dir_path}/{output_dir_name}.srcjar {output_main}
mv {output_dir_path}/{output_dir_name}-test.srcjar {output_test}
Expand Down
2 changes: 1 addition & 1 deletion python/py_gapic_pkg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _py_gapic_src_pkg_impl(ctx):
done
# Replace 555 (forced by Bazel) permissions with 644
find {package_dir_path} -type f -exec chmod 644 {{}} \;
find {package_dir_path} -type f -exec chmod 644 {{}} \\;
for srcjar_src in {srcjar_srcs}; do
unzip -q -o $srcjar_src -d {package_dir_path}
Expand Down

0 comments on commit 92a3652

Please sign in to comment.