Commit de95904a authored by gsell's avatar gsell

bugfix in finding variants files with two dots

parent 155e50b5
......@@ -273,11 +273,12 @@ parse_args() {
(( ${#versions[@]} > 0)) || std::die 1 "Module version not specified!"
}
shopt -s nocaseglob
find_variants_files(){
shopt -q nullglob || :
local -i nullglob_set=$?
shopt -s nullglob
local files=( "${BUILDBLOCK_DIR}"/*/variants.${opt_system} )
local files=( "${BUILDBLOCK_DIR}"/*/variants\.${opt_system} )
files+=( "${BUILDBLOCK_DIR}"/*/variants.$(uname -s) )
local f
for f in "${BUILDBLOCK_DIR}"/*/variants; do
......
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