[infra] Try another workaround for go_deps asset creation
Just delete the symlink. Bug: skia: Change-Id: I7648d56c215c63bd2a509e6e977fe6fda2d5871a Reviewed-on: https://skia-review.googlesource.com/c/159064 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
This commit is contained in:
parent
be8193c931
commit
b627af80e3
@ -22,11 +22,11 @@ def create_asset(target_dir):
|
||||
subprocess.check_call(
|
||||
['go', 'get', '-u', '-t', 'go.skia.org/infra/...'],
|
||||
env=env)
|
||||
# There's a broken symlink which causes a lot of problems. Create the dir it
|
||||
# points to.
|
||||
missing_dir = os.path.join(target_dir, 'src', 'go.chromium.org', 'luci',
|
||||
'web', 'inc', 'bower_components')
|
||||
os.mkdir(missing_dir)
|
||||
# There's a broken symlink which causes a lot of problems. Delete it.
|
||||
bad_symlink = os.path.join(
|
||||
target_dir, 'src', 'go.chromium.org', 'luci', 'machine-db', 'appengine',
|
||||
'frontend', 'bower_components')
|
||||
os.remove(bad_symlink)
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user