diff options
author | Cherry Zhang <cherryyz@google.com> | 2020-12-22 12:40:32 -0500 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2020-12-22 18:16:54 +0000 |
commit | 0aa9b4709acd609c1a3e9cb028e7f4c4da3f0357 (patch) | |
tree | 5dfac79b15b58e587979a3fec47c4432eb2b749f /test | |
parent | 4d27c4c223ccb7de3876abbac79b58ad9579be1a (diff) | |
download | go-0aa9b4709acd609c1a3e9cb028e7f4c4da3f0357.tar.gz go-0aa9b4709acd609c1a3e9cb028e7f4c4da3f0357.zip |
cmd/pack: r command create output file if not exist
Go 1.15 pack's r command creates the output file if it does not
exist. The system "ar" command does this as well. Do the same.
For bazelbuild/rules_go#2762.
Change-Id: Icd88396b5c714b735c859a29ab29851e4301f4d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/279516
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions