From e2524f036d2fce8326073fa5db836c2c897e084f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 27 Apr 2009 11:44:38 +0000 Subject: [PATCH] find and list debian sources in build root --- osc/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osc/build.py b/osc/build.py index e401248c..0a535b57 100644 --- a/osc/build.py +++ b/osc/build.py @@ -207,7 +207,9 @@ def get_built_files(pacdir, pactype): b_built = subprocess.Popen(['find', os.path.join(pacdir, 'DEBS'), '-name', '*.deb'], stdout=subprocess.PIPE).stdout.read().strip() - s_built = '' + s_built = subprocess.Popen(['find', os.path.join(pacdir, 'SOURCES.DEB'), + '-type', 'f'], + stdout=subprocess.PIPE).stdout.read().strip() return s_built, b_built