Commit 0722865b authored by Matthieu Boileau's avatar Matthieu Boileau

Add a 'clean' option to paraview/install.sh

parent 39b3885d
......@@ -91,6 +91,15 @@ envtpl --keep-template -o $MODULE_PATH module.tmpl
if [[ $1 == "module" ]]
then
install_module
elif [[ $1 == "clean" ]]
then
if [[ -d $BUILD_DIR ]]
then
rm -rf $BUILD_DIR
else
echo "$BUILD_DIR does not exist"
exit 1
fi
else
install_lib
install_module
......
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