mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-04 12:50:50 +02:00
modbuild: bugfix in writing the dependencies files
This commit is contained in:
@@ -1290,12 +1290,12 @@ _build_module() {
|
||||
cd "${BUILD_DIR}"
|
||||
[[ "${OS}" == "Linux" ]] && post_install_linux
|
||||
install_doc
|
||||
if [[ -v runtime_dependencies[0] ]]; then
|
||||
if (( ${#runtime_dependencies[@]} > 0 )); then
|
||||
write_runtime_dependencies \
|
||||
"${PREFIX}/${FNAME_RDEPS}" \
|
||||
"${runtime_dependencies[@]}"
|
||||
fi
|
||||
if [[ -v install_dependencies[0] ]]; then
|
||||
if (( ${#install_dependencies[@]} > 0 )); then
|
||||
write_runtime_dependencies \
|
||||
"${PREFIX}/${FNAME_IDEPS}" \
|
||||
"${install_dependencies[@]}"
|
||||
|
||||
Reference in New Issue
Block a user