mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-08 14:50:49 +02:00
search order for modulefiles fixed
This commit is contained in:
@@ -723,9 +723,9 @@ pbuild::make_all() {
|
||||
find_modulefile() {
|
||||
local "$1"
|
||||
local fnames=()
|
||||
fnames+=( "modulefile-${V_MAJOR}" )
|
||||
fnames+=( "modulefile-${V_MAJOR}.${V_MINOR}" )
|
||||
fnames+=( "modulefile-${V_MAJOR}.${V_MINOR}.${V_PATCHLVL}" )
|
||||
fnames+=( "modulefile-${V_MAJOR}.${V_MINOR}" )
|
||||
fnames+=( "modulefile-${V_MAJOR}" )
|
||||
fnames+=( "modulefile" )
|
||||
local fname=''
|
||||
local modulefile=''
|
||||
|
||||
Reference in New Issue
Block a user