1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

It is not that easy, it would also need support server side and it must not depend on projects, since a branch must still produce the same result

Revert "Forward project directory to source services."

This reverts commit 9c016b8bf0.
This commit is contained in:
Adrian Schröter 2011-07-20 12:03:44 +02:00
parent 37f88a23b1
commit 82d9f9e695

View File

@ -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 + " --projdir" + os.path.abspath(os.curdir)
c = "/usr/lib/obs/service/" + call + " --outdir " + temp_dir
if conf.config['verbose'] > 1 or verbose:
print "Run source service:", c
r = subprocess.call(c, shell=True)