From 62a6e06553da42fb068579020439003828213f5c Mon Sep 17 00:00:00 2001 From: Erik B Knudsen Date: Fri, 24 Nov 2023 15:47:43 +0100 Subject: [PATCH] cleanup edits --- Ubuntu_22.04/dagmc-install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Ubuntu_22.04/dagmc-install.sh b/Ubuntu_22.04/dagmc-install.sh index b3fd70f..552578a 100755 --- a/Ubuntu_22.04/dagmc-install.sh +++ b/Ubuntu_22.04/dagmc-install.sh @@ -49,17 +49,17 @@ if [ ! -e ${name}.done ]; then mkdir -p build cd build cmake ../DAGMC -DBUILD_TALLY=ON \ - -DMOAB_DIR=$HOME/openmc/MOAB \ - -DDOUBLE_DOWN=ON \ - -DBUILD_STATIC_EXE=OFF \ - -DBUILD_STATIC_LIBS=OFF \ - -DCMAKE_INSTALL_PREFIX=$HOME/openmc/DAGMC/ \ - -DDOUBLE_DOWN_DIR=$HOME/openmc/double-down - make -j $ccores + -DMOAB_DIR=${install_prefix} \ + -DDOUBLE_DOWN=ON\ + -DBUILD_STATIC_EXE=OFF\ + -DBUILD_STATIC_LIBS=OFF\ + -DCMAKE_INSTALL_PREFIX=${install_prefix}\ + -DDOUBLE_DOWN_DIR=${install_prefix} + make -j ${ccores} make install cd ${WD} touch ${name}.done else - echo DAGMC appears already to be installed \(lock file ${name}.done exists\) - skipping. + echo ${package_name} appears already to be installed \(lock file ${name}.done exists\) - skipping. fi