mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-01 03:39:39 +02:00
test existence of groups 'Libraries' and 'System' before using
This commit is contained in:
@@ -1377,9 +1377,12 @@ pbuild.build_module() {
|
||||
|
||||
# :FIXME: this is a hack!!!
|
||||
# shouldn't this be set in the build-script?
|
||||
eval $( "${MODULECMD}" bash use Libraries )
|
||||
eval $( "${MODULECMD}" bash use System )
|
||||
|
||||
if [[ -e "${PMODULES_ROOT}/Libraries" ]]; then
|
||||
eval $( "${MODULECMD}" bash use Libraries )
|
||||
fi
|
||||
if [[ -e "${PMODULES_ROOT}/System" ]]; then
|
||||
eval $( "${MODULECMD}" bash use System )
|
||||
fi
|
||||
unset C_INCLUDE_PATH
|
||||
unset CPLUS_INCLUDE_PATH
|
||||
unset CPP_INCLUDE_PATH
|
||||
|
||||
Reference in New Issue
Block a user