Commit 6fb07d9a authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Remove space in function declaration

parent 5795f960
...@@ -24,7 +24,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ...@@ -24,7 +24,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MODULE_DIR=/data/software/modules/libs/${LIB_NAME} MODULE_DIR=/data/software/modules/libs/${LIB_NAME}
MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT} MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT}
install_lib () install_lib()
{ {
module purge module purge
module load gcc/${GCC_VERSION} module load gcc/${GCC_VERSION}
...@@ -58,7 +58,7 @@ make -j || exit 1 ...@@ -58,7 +58,7 @@ make -j || exit 1
make -j install || exit 1 make -j install || exit 1
} }
install_module () install_module()
{ {
cd $SCRIPT_DIR cd $SCRIPT_DIR
mkdir -p ${MODULE_DIR} mkdir -p ${MODULE_DIR}
......
...@@ -23,7 +23,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ...@@ -23,7 +23,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MODULE_DIR=/data/software/modules/libs/${LIB_NAME} MODULE_DIR=/data/software/modules/libs/${LIB_NAME}
MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT} MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT}
install_lib () install_lib()
{ {
module purge module purge
module load gcc/${GCC_VERSION} module load gcc/${GCC_VERSION}
...@@ -61,7 +61,7 @@ make -j || exit 1 ...@@ -61,7 +61,7 @@ make -j || exit 1
make -j install || exit 1 make -j install || exit 1
} }
install_module () install_module()
{ {
cd $SCRIPT_DIR cd $SCRIPT_DIR
mkdir -p ${MODULE_DIR} mkdir -p ${MODULE_DIR}
......
...@@ -24,7 +24,7 @@ module load gcc/${GCC_VERSION} ...@@ -24,7 +24,7 @@ module load gcc/${GCC_VERSION}
gcc --version | head -n 1 gcc --version | head -n 1
install_lib () install_lib()
{ {
if [[ ! -f $ARCHIVE ]]; then if [[ ! -f $ARCHIVE ]]; then
mkdir -p $WORK_DIR mkdir -p $WORK_DIR
...@@ -47,7 +47,7 @@ install_lib () ...@@ -47,7 +47,7 @@ install_lib ()
make -j install || exit 1 make -j install || exit 1
} }
install_module () install_module()
{ {
cd $SCRIPT_DIR cd $SCRIPT_DIR
mkdir -p ${MODULE_DIR} mkdir -p ${MODULE_DIR}
......
...@@ -23,7 +23,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ...@@ -23,7 +23,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MODULE_DIR=/data/software/modules/libs/${LIB_NAME} MODULE_DIR=/data/software/modules/libs/${LIB_NAME}
MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT} MODULE_PATH=${MODULE_DIR}/${LIB_VERSION}_${GCC_SHORT}_${MPI_SHORT}
install_lib () install_lib()
{ {
module purge module purge
module load gcc/${GCC_VERSION} module load gcc/${GCC_VERSION}
...@@ -58,7 +58,7 @@ make -j || exit 1 ...@@ -58,7 +58,7 @@ make -j || exit 1
make -j install || exit 1 make -j install || exit 1
} }
install_module () install_module()
{ {
cd $SCRIPT_DIR cd $SCRIPT_DIR
mkdir -p ${MODULE_DIR} mkdir -p ${MODULE_DIR}
......
Supports Markdown
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