Commit d664602c authored by Arnaud Blanchard's avatar Arnaud Blanchard

For blc_core and blc_program to be installed before others. This is due to...

For blc_core and blc_program to be installed before others. This is due to foreach working only on alphabetic order
parent d2a41f62
......@@ -37,7 +37,12 @@ do
shift
done
[ "$1" = "all" ] && { git submodule foreach --quiet '../install.sh .' ; exit $? ; }
[ "$1" = "all" ] &&
{
#blc_core needs to be compiled first then blc_program before blc_processes
./install.sh blc_core && ./install.sh blc_program && git submodule foreach --quiet '../install.sh .' ; exit $? ;
}
if [ "$2" ]; then
......
......@@ -24,5 +24,7 @@ echo "Reinstall and check all"
echo "-----------------------"
echo
git submodule foreach --quiet '../install.sh . && ./check.sh' || { echo "### Impossible to install updates"; exit 1; }
./install.sh all || { echo "### Impossible to install updates"; exit 1; }
./check_all.sh || { echo "### Problem in executing the code"; exit 2; }
echo
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