From f276c61c33c4500b32667f4fa235e272803d6d9f Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 5 Mar 2016 22:31:33 +0100 Subject: [PATCH] hickup in dirs in last commit --- build_FEM.sh | 4 ++-- build_spectral.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build_FEM.sh b/build_FEM.sh index 9c154670b..a8326a07e 100755 --- a/build_FEM.sh +++ b/build_FEM.sh @@ -15,7 +15,7 @@ if [ ! -d build ]; then mkdir build fi cd build -if [ -d build_FEM ] ; then +if [ -d FEM ] ; then rm -rf FEM fi mkdir FEM @@ -41,6 +41,6 @@ cmake -D PETSC_DIR=${PETSC_DIR} \ echo echo "Please move to the build directory using" -echo " cd build/build_spectral" +echo " cd build/FEM" echo "Using the following command to build DAMASK spectral solver" echo " make clean all install" diff --git a/build_spectral.sh b/build_spectral.sh index a26175b65..51a6fcd74 100755 --- a/build_spectral.sh +++ b/build_spectral.sh @@ -15,11 +15,11 @@ if [ ! -d build ]; then mkdir build fi cd build -if [ -d build ] ; then - rm -rf build +if [ -d spectral ] ; then + rm -rf spectral fi -mkdir build -cd build +mkdir spectral +cd spectral ## # CMake call