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

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

parent 39b3885d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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