mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36: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:
parent
35372df0f5
commit
e0d96a49b3
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user