Switch PO number for Google Domains for 2017

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144764336
This commit is contained in:
shikhman 2017-01-17 15:30:26 -08:00 committed by Ben McIlwain
parent 579e4cb74e
commit 9adfd7a353

View file

@ -151,7 +151,7 @@ def _zip_file(ctx):
if hasattr(ctx, 'bin_dir'): if hasattr(ctx, 'bin_dir'):
script = ctx.new_file(ctx.bin_dir, '%s.sh' % ctx.label.name) script = ctx.new_file(ctx.bin_dir, '%s.sh' % ctx.label.name)
else: else:
# TODO(user): remove this once Bazel 4.0+ is required. # TODO(kchodorow): remove this once Bazel 4.0+ is required.
script = ctx.new_file(ctx.configuration.bin_dir, '%s.sh' % ctx.label.name) script = ctx.new_file(ctx.configuration.bin_dir, '%s.sh' % ctx.label.name)
ctx.file_action(output=script, content='\n'.join(cmd), executable=True) ctx.file_action(output=script, content='\n'.join(cmd), executable=True)
inputs = [ctx.file._zipper] inputs = [ctx.file._zipper]