2
0
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:
Jarrod Johnson 2021-09-03 15:12:06 -04:00
parent 5422f904f9
commit de5350ca6e

View File

@ -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