mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-28 05:02:11 +01:00
don't try to find built packages when the build wasn't complete
This commit is contained in:
parent
a08e80472b
commit
77d66c81a3
@ -347,7 +347,9 @@ def main(argv):
|
|||||||
print cmd
|
print cmd
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
|
|
||||||
pacdirlink = os.readlink(os.path.join(config['build-root'], '.build.packages'))
|
pacdirlink = os.path.join(config['build-root'], '.build.packages')
|
||||||
|
if os.path.exists(pacdirlink):
|
||||||
|
pacdirlink = os.readlink(pacdirlink)
|
||||||
pacdir = os.path.join(config['build-root'] + pacdirlink)
|
pacdir = os.path.join(config['build-root'] + pacdirlink)
|
||||||
|
|
||||||
if os.path.exists(pacdir):
|
if os.path.exists(pacdir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user