mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 19:52:12 +01:00
don't use a hardcoded path for the rpm binary otherwise it fails on distributions like debian
This commit is contained in:
parent
8ae5597788
commit
ba3c4ac09d
@ -146,7 +146,7 @@ def verify_pacs(pac_list):
|
||||
saved_LC_ALL = os.environ.get('LC_ALL')
|
||||
os.environ['LC_ALL'] = 'en_EN'
|
||||
|
||||
o = subprocess.Popen(['/bin/rpm', '-K'] + pac_list, stdout=subprocess.PIPE,
|
||||
o = subprocess.Popen(['rpm', '-K'] + pac_list, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT, close_fds=True).stdout
|
||||
|
||||
# restore locale
|
||||
|
Loading…
x
Reference in New Issue
Block a user