mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
Merge branch '267-build-system-option-overlay-is-only-allowed-with-legacy-config-files' into 'master'
Resolve "build-system: option --overlay is only allowed with legacy config files" Closes #267 See merge request Pmodules/src!244
This commit is contained in:
@@ -145,10 +145,12 @@ MISCELLANEOUS OPTIONS:
|
||||
--tmpdir
|
||||
Directory used for building a module.
|
||||
|
||||
--overlay
|
||||
Install in this overlay. Defaults to '${PMODULES_HOME%%/Tools*}'.
|
||||
--legacy
|
||||
Use legacy configuration files.
|
||||
Use legacy configuration files.
|
||||
|
||||
--overlay
|
||||
Install in this overlay. Defaults to the base overlay. This
|
||||
option can only be used with legacy configuration file.
|
||||
|
||||
DOCUMENTATION:
|
||||
Full documentation is available at
|
||||
@@ -397,6 +399,9 @@ parse_args() {
|
||||
"%s -- %s" \
|
||||
"YAML config file doesn't exist or is not readable" \
|
||||
"${yaml_config_file}"
|
||||
[[ "${opt_overlay}" == 'yes' ]] && \
|
||||
std::die 2 \
|
||||
"opt '--overlay' can only be used together with legacy config files!"
|
||||
std::info "Using YAML configuration file - ${yaml_config_file}"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user