1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 15:06:15 +01:00

- Fix for commit d6bd44a9a4cf585d12c9d7e597dbddccea34a1c3...

This commit is contained in:
Marcus Huewe 2016-03-04 10:20:39 +01:00
parent d6bd44a9a4
commit b480206829

View File

@ -401,7 +401,7 @@ class Serviceinfo:
continue
temp_dir = None
try:
temp_dir = tempfile.mkdtemp(suffix='.%s.service' % service['name'])
temp_dir = tempfile.mkdtemp(dir=dir, suffix='.%s.service' % service['name'])
cmd = service['command']
if not os.path.exists("/usr/lib/obs/service/"+cmd[0]):
raise oscerr.PackageNotInstalled("obs-service-%s"%cmd[0])