1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-29 15:56:17 +01:00
Use the correct build result directory in case of a "simpleimage" build
(the results are stored in the "OTHER" directory).
This commit is contained in:
Marcus Huewe 2021-04-26 16:10:45 +02:00
commit 64ab6930c5

View File

@ -385,7 +385,7 @@ def get_built_files(pacdir, buildtype):
stdout=subprocess.PIPE).stdout.read().strip()
s_built = ''
elif buildtype == 'simpleimage':
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'SIMPLEIMAGE'),
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'OTHER'),
'-type', 'f'],
stdout=subprocess.PIPE).stdout.read().strip()
s_built = ''