Commit bbb798af authored by gsell's avatar gsell

Merge branch '70-prefix-should-not-end-with-a-trailing-slash' into 'master'

Resolve "PREFIX should not end with a trailing slash"

Closes #70

See merge request !35
parents 5032437c a32070a6
......@@ -212,10 +212,10 @@ set_full_module_name_and_prefix() {
# set full module name
fully_qualified_module_name=$( join_by '/' "${name[@]}" )
# set PREFIX of module
PREFIX="${PMODULES_ROOT}/${GROUP}/"
PREFIX="${PMODULES_ROOT}/${GROUP}"
local -i i=0
for ((i=${#name[@]}-1; i >= 0; i--)); do
PREFIX+="${name[i]}/"
PREFIX+="/${name[i]}"
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment