Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b627af8

Browse files
erock2112Skia Commit-Bot
authored and
Skia Commit-Bot
committed
[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 <[email protected]> Commit-Queue: Eric Boren <[email protected]>
1 parent be8193c commit b627af8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

infra/bots/assets/go_deps/create.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def create_asset(target_dir):
2222
subprocess.check_call(
2323
['go', 'get', '-u', '-t', 'go.skia.org/infra/...'],
2424
env=env)
25-
# There's a broken symlink which causes a lot of problems. Create the dir it
26-
# points to.
27-
missing_dir = os.path.join(target_dir, 'src', 'go.chromium.org', 'luci',
28-
'web', 'inc', 'bower_components')
29-
os.mkdir(missing_dir)
25+
# There's a broken symlink which causes a lot of problems. Delete it.
26+
bad_symlink = os.path.join(
27+
target_dir, 'src', 'go.chromium.org', 'luci', 'machine-db', 'appengine',
28+
'frontend', 'bower_components')
29+
os.remove(bad_symlink)
3030

3131

3232
def main():

0 commit comments

Comments
 (0)