Skip to content
Snippets Groups Projects
Commit a7aa04eb authored by Markus Blatt's avatar Markus Blatt
Browse files

forth and back and forth.

Hopefully the last fix concerning flyspray 895.

Maybe the release managers could merge this to the release as they 
opted for simply reverting my changes instead of just reopening the bug. The latter would have caused less work.

[[Imported from SVN: r6397]]
parent 69dc1992
Branches
Tags
No related merge requests found
......@@ -150,7 +150,7 @@ find_modules_in_path
# get the real module names
MODULES=""
for i in $FOUND_MODULES; do
for i in $FOUNDMODULES; do
mod=$(eval echo \$NAME_$i)
MODULES="$MODULES$mod "
done
......
......@@ -166,16 +166,19 @@ find_modules_in_path() {
if test -d "$dir"; then
while read m; do
test -n "$m" && find_modules "$m"
TMPMODULES="$TMPMODULES$FM_MODULES$INSTMODULES"
done <<EOFM
$(find -H "$dir" -name $CONTROL | $GREP -v 'dune-[-_a-zA-Z]/dune-[-a-zA-Z_]*-[0-9]\{1,\}.[0-9]\{1,\}/')
EOFM
else
find_modules $dir
TMPMODULES="$TMPMODULES$FM_MODULES$INSTMODULES"
fi
done <<EOF
$(echo $DUNE_CONTROL_PATH | sed -e 's/:\+/:/g' | tr ':' '\n')
EOF
export FOUND_MODULES="$MODULES$INSTMODULES"
export FOUND_MODULES="$TMPMODULES"
export MODULES="$TMPMODULES"
fi
}
......@@ -194,7 +197,7 @@ find_modules() {
if test "$module_inst" = "yes"; then
export INSTMODULES="$MODULES$module "
else
export MODULES="$MODULES$module "
export FM_MODULES="$MODULES$module "
fi
else
echo "ERROR: '$1' is no $CONTROL file" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment