From c420d5ef0616b4c0b6a3a5c84e47beb312c8e88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20H=C3=BCwe?= Date: Sat, 24 Oct 2009 17:20:41 +0000 Subject: [PATCH] - don't use relative paths --- osc/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/build.py b/osc/build.py index 2038b72a..1f6bf381 100644 --- a/osc/build.py +++ b/osc/build.py @@ -369,8 +369,8 @@ def main(opts, argv): cpio.add(os.path.basename(build_descr), build_descr_data) build_descr_data = cpio.get() - bi_filename = '.osc/_buildinfo-%s-%s.xml' % (repo, arch) - bc_filename = '.osc/_buildconfig-%s-%s' % (repo, arch) + bi_filename = os.path.join(os.getcwd(), '.osc/_buildinfo-%s-%s.xml' % (repo, arch)) + bc_filename = os.path.join(os.getcwd(), '.osc/_buildconfig-%s-%s' % (repo, arch)) try: if opts.noinit: if not os.path.isfile(bi_filename):