1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

Initialize variable 's_built' during image build.

Fixed images local build failure because of
uninitialized variable 's_built'.
This commit is contained in:
Denis Pynkin 2014-09-09 16:07:35 +03:00
parent 35372df0f5
commit e0d96a49b3

View File

@ -268,6 +268,7 @@ def get_built_files(pacdir, buildtype):
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'KIWI'),
'-type', 'f'],
stdout=subprocess.PIPE).stdout.read().strip()
s_built = ''
elif buildtype == 'dsc':
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'DEBS'),
'-name', '*.deb'],