From 952a63e914d2d289283617e11867f986fc6f9cfd Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 26 Mar 2018 17:13:06 +0200 Subject: [PATCH] COMP: change dir for Allwmake, Allwclean --- Allwclean | 11 ++++++----- Allwmake | 6 +----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Allwclean b/Allwclean index be27249..fd15486 100755 --- a/Allwclean +++ b/Allwclean @@ -1,9 +1,10 @@ #!/bin/sh -# Compile mesh library -wclean libso meshLibrary +cd ${0%/*} || exit 1 # Run from this directory -# Compile executables -wclean all executables +#------------------------------------------------------------------------------ -# Compile utilities +wclean libso meshLibrary +wclean all executables wclean all utilities + +#------------------------------------------------------------------------------ diff --git a/Allwmake b/Allwmake index e04b1cd..c270dd4 100755 --- a/Allwmake +++ b/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation if [ -f $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments ] @@ -13,13 +14,8 @@ echo " $WM_COMPILER $WM_COMPILER_TYPE compiler" echo " ${WM_OPTIONS}, with ${WM_MPLIB} ${FOAM_MPI}" echo -# Compile mesh library wmake libso meshLibrary - -# Compile executables wmake all executables - -# Compile utilities wmake all utilities # Some summary information -- GitLab