diff --git a/osc/core.py b/osc/core.py index d0b0cf50..952e4cf9 100644 --- a/osc/core.py +++ b/osc/core.py @@ -332,7 +332,7 @@ class Serviceinfo: name = call.split(None, 1)[0] if not os.path.exists("/usr/lib/obs/service/"+name): raise oscerr.PackageNotInstalled("obs-service-"+name) - c = "/usr/lib/obs/service/" + call + " --outdir " + temp_dir + c = "/usr/lib/obs/service/" + call + " --outdir " + temp_dir + " --projdir" + os.path.abspath(os.curdir) if conf.config['verbose'] > 1 or verbose: print "Run source service:", c r = subprocess.call(c, shell=True)