From fddb32863b3f491c01c384ddb73ec3024a4d77f7 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 3 Dec 2020 08:53:55 +0100 Subject: [PATCH] bugfix in find_modulefile() --- Pmodules/libpbuild.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index 6e82cc7..6630057 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -787,7 +787,7 @@ pbuild::make_all() { local "$1" local fname='' local modulefile='' - for fname in "${VERSIONS[@]/#/modulefile-}"; do + for fname in "${VERSIONS[@]/#/modulefile-}" 'modulefile'; do if [[ -r "${BUILDBLOCK_DIR}/${fname}" ]]; then modulefile="${BUILDBLOCK_DIR}/${fname}" break;