From 2699518473155e66b8439936a9510ecb6baa1ffc Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 15 Nov 2022 16:34:00 +0100 Subject: [PATCH] gmsh: ensure that BUILD_DIR is cleaned and created --- products/compil_scripts/gmsh-4.10.3.sh | 6 ++++-- products/compil_scripts/gmsh-4.8.4.sh | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/products/compil_scripts/gmsh-4.10.3.sh b/products/compil_scripts/gmsh-4.10.3.sh index 3e9e822..d5aa9e6 100755 --- a/products/compil_scripts/gmsh-4.10.3.sh +++ b/products/compil_scripts/gmsh-4.10.3.sh @@ -4,9 +4,11 @@ echo "########################################################################## echo "gmsh" $VERSION echo "##########################################################################" +rm -rf $BUILD_DIR +mkdir $BUILD_DIR +cd $BUILD_DIR - -CMAKE_OPTIONS="" +CMAKE_OPTIONS= # common settings CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON" diff --git a/products/compil_scripts/gmsh-4.8.4.sh b/products/compil_scripts/gmsh-4.8.4.sh index 0bed6cb..2965320 100755 --- a/products/compil_scripts/gmsh-4.8.4.sh +++ b/products/compil_scripts/gmsh-4.8.4.sh @@ -4,9 +4,11 @@ echo "########################################################################## echo "gmsh" $VERSION echo "##########################################################################" +rm -rf $BUILD_DIR +mkdir $BUILD_DIR +cd $BUILD_DIR - -CMAKE_OPTIONS="" +CMAKE_OPTIONS= # common settings CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON" -- 2.39.2