mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 13:00:40 +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]
|
dirs = [Path('updates/archive')] + [Path('www/') / arch for arch in ARCHS]
|
||||||
for mydir in dirs:
|
for mydir in dirs:
|
||||||
mydir.mkdir(mode=0o755, exist_ok=True, parents=True)
|
mydir.mkdir(mode=0o755, exist_ok=True, parents=True)
|
||||||
try:
|
symlink(Path('www/archive'), '../updates/archive')
|
||||||
symlink(Path('www/archive'), 'updates/archive')
|
|
||||||
except FileExistsError:
|
|
||||||
pass
|
|
||||||
checkenv()
|
checkenv()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue