Merge "Fix check for installtype"
This commit is contained in:
commit
c680bab025
@ -25,8 +25,9 @@ import yaml
|
|||||||
|
|
||||||
def get_element_installtype(element_name):
|
def get_element_installtype(element_name):
|
||||||
default = os.environ.get("DIB_DEFAULT_INSTALLTYPE", "source")
|
default = os.environ.get("DIB_DEFAULT_INSTALLTYPE", "source")
|
||||||
element_name.replace('-', '_')
|
return os.environ.get(
|
||||||
return os.environ.get("DIB_INSTALLTYPE_%s" % element_name, default)
|
"DIB_INSTALLTYPE_%s" % element_name.replace('-', '_'),
|
||||||
|
default)
|
||||||
|
|
||||||
|
|
||||||
def collect_data(data, filename, element_name):
|
def collect_data(data, filename, element_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user