diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2015-07-24 07:13:09 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-07-27 08:32:21 +0000 |
commit | 255791c9ebdbf7ee3111b65baac89737fffbf22d (patch) | |
tree | 382881755fd8d28bdbd4719b95c7f9470e55b758 /src/main/java/com | |
parent | aee5e6af1b4857a5ffe658ad9a90e75883b3e1c4 (diff) |
Fixing python argument passing
The missing quotes were splitting arguments containing spaces.
Discovered while testing last version of the docker skylark rules.
--
MOS_MIGRATED_REVID=99006493
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt b/src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt index fcedeb3bcc..3ec8385332 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/python/stub_template.txt @@ -2,4 +2,4 @@ STUBPATH=$(%python_binary% -c "import os.path; print(os.path.realpath('$0'));") export PYTHONPATH=$STUBPATH.runfiles -exec %python_binary% ${PYTHONPATH}/%main% $@ +exec %python_binary% ${PYTHONPATH}/%main% "$@" |