diff --git a/osc/build.py b/osc/build.py index 87601ee5..062f2fa5 100644 --- a/osc/build.py +++ b/osc/build.py @@ -376,7 +376,7 @@ def get_built_files(pacdir, buildtype): s_built = '' elif buildtype == 'simpleimage': b_built = subprocess.Popen(['find', os.path.join(pacdir, 'SIMPLEIMAGE'), - '-type', '-f'], + '-type', 'f'], stdout=subprocess.PIPE).stdout.read().strip() s_built = '' else: