mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 04:50:21 +00:00
Fix additional repository argument for suse build
This commit is contained in:
parent
5422f904f9
commit
de5350ca6e
@ -464,6 +464,8 @@ class SuseHandler(OsHandler):
|
||||
for source in self.addrepos.split(','):
|
||||
if not source:
|
||||
continue
|
||||
if not source.startswith('/') and os.path.exists(os.path.abspath(source)):
|
||||
source = os.path.abspath(source)
|
||||
source = 'file://' + source
|
||||
subprocess.check_call(['zypper', '-R', self.targpath, 'ar', source, 'source-{}'.format(idx)])
|
||||
idx += 1
|
||||
|
Loading…
Reference in New Issue
Block a user