Commit afbbbba1 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Use parallelism & to clone

parent d2e11e73
......@@ -29,13 +29,13 @@ for lib in $basic_libs
do
echo "Cloning '$lib':"
commandline="git submodule add $lib_website/$lib.git blibs/$lib"
$commandline &> $TMP_DIR/clone_$lib.log || { echo "Fail cloning '$lib' executing: '$commandline'"; cat $TMP_DIR/clone_$lib.log; echo ; }
$commandline &> $TMP_DIR/clone_$lib.log || { echo "Fail cloning '$lib' executing: '$commandline'"; cat $TMP_DIR/clone_$lib.log; echo ; } &
done
for module in $standard_modules
do
echo "Cloning '$module':"
commandline="git submodule add $module_website/$module.git"
$commandline &> $TMP_DIR/clone_$module.log || { echo "Fail cloning '$module' executing: '$commandline'"; cat $TMP_DIR/clone_$module.log; echo ; }
$commandline &> $TMP_DIR/clone_$module.log || { echo "Fail cloning '$module' executing: '$commandline'"; cat $TMP_DIR/clone_$module.log; echo ; } &
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