mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-10 21:20:29 +02:00
build-system: use_flags in YAML config file
This commit is contained in:
@@ -328,7 +328,7 @@ readonly -f pbuild::version_eq
|
||||
#..............................................................................
|
||||
#
|
||||
pbuild::use_flag() {
|
||||
[[ "${USE_FLAGS}" == *:${1}:* ]]
|
||||
[[ "${ModuleConfig['use_flags']}" =~ " ${1} " ]]
|
||||
}
|
||||
readonly -f pbuild::use_flag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user