Merge branch '412-build-system-fix-check-whether-the-main-package-has-to-be-rebuilt' into 'master'

Resolve "build-system: fix check whether the main package has to be rebuilt"

Closes #412

See merge request Pmodules/src!444
This commit is contained in:
2025-04-09 16:41:32 +02:00
+1 -1
View File
@@ -1489,7 +1489,7 @@ _build_module() {
bm::remove_module
elif [[ "${module_release}" == 'deprecated' ]]; then
bm::deprecate_module
elif [[ -d "${PREFIX}" || "${is_subpkg}" == 'yes' ]] && [[ "${force_rebuild}" == 'no' ]]; then
elif [[ -d "${PREFIX}" && "${is_subpkg}" != 'yes' ]] && [[ "${force_rebuild}" == 'no' ]]; then
std::info \
"%s " \
"${module_name}/${module_version}:" \