Копирование distfiles:

* Исправлена ошибка копирования /var/calculate/distfiles
master 3.7.2.9
parent 807eb3c4ab
commit 07cf54c63e

@ -1024,11 +1024,12 @@ class Builder(Update):
if fn not in source:
removeFileWithEmptyDirectory(path.join(target_dn, fn),
stopDirectory=target_dn)
# копируем отсутствующие файлы
for fn in source:
if fn not in target:
copyWithPath(path.join(source_dn, fn),
target_dn, prefix=source_dn)
if not os.path.isdir('/var/db/repos/gentoo'):
# копируем отсутствующие файлы
for fn in source:
if fn not in target:
copyWithPath(path.join(source_dn, fn),
target_dn, prefix=source_dn)
return True

Loading…
Cancel
Save