mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-04 19:00:41 +08:00
repo.py: symlink fix
This commit is contained in:
parent
7e09119263
commit
1397bb4391
1 changed files with 1 additions and 4 deletions
5
repo.py
5
repo.py
|
@ -46,10 +46,7 @@ def checkenv():
|
|||
dirs = [Path('updates/archive')] + [Path('www/') / arch for arch in ARCHS]
|
||||
for mydir in dirs:
|
||||
mydir.mkdir(mode=0o755, exist_ok=True, parents=True)
|
||||
try:
|
||||
symlink(Path('www/archive'), 'updates/archive')
|
||||
except FileExistsError:
|
||||
pass
|
||||
symlink(Path('www/archive'), '../updates/archive')
|
||||
checkenv()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue