bugfix in find_modulefile()

This commit is contained in:
Achim Gsell
2020-12-03 08:53:55 +01:00
parent 417bd2bf8b
commit fddb32863b
+1 -1
View File
@@ -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;