Skip to content
Snippets Groups Projects
Commit 5551d194 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Fix buildir file

parent 238df546
No related branches found
No related tags found
1 merge request!49Resolve "Finish installation and usage instruction on the documentation"
......@@ -176,13 +176,11 @@ for module in $MODULES; do
$SUDOCMD $DUNECONTROL --opts=${DUNE_OPTIONS_FILE} --only=dune-$module bexec cmake --build . --target install
# we want to know where the build dir is located
# since it could be ant complex path, we write the path from dunecontrol
# since it could be ant complex path, we write the path from dunecontrol into a file
$DUNECONTROL --opts=${DUNE_OPTIONS_FILE} --only=dune-$module bexec "echo \$PWD >> $PWD/module_builddir"
# ...read it and remove the document (strange, but effective)
rm $(cat $PWD/module_builddir)
# remove build and sources
rm -rf $BUILDDIR
rm -rf $(cat $PWD/module_builddir)
rm -rf dune-$module
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment