mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
- Fix for commit d6bd44a9a4cf585d12c9d7e597dbddccea34a1c3...
This commit is contained in:
parent
d6bd44a9a4
commit
b480206829
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user