diff --git a/applications/solvers/compressible/rhoCentralFoam/Allwmake b/applications/solvers/compressible/rhoCentralFoam/Allwmake index 69a108d5379e83eb8af66e68abcdb8bfa1eeaaf0..698558da0b6d815e5c36e91e94862a0effbcf637 100755 --- a/applications/solvers/compressible/rhoCentralFoam/Allwmake +++ b/applications/solvers/compressible/rhoCentralFoam/Allwmake @@ -1,5 +1,8 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory +set -x wmake libso BCs wmake +# ----------------------------------------------------------------- end-of-file diff --git a/applications/solvers/compressible/rhopSonicFoam/Allwmake b/applications/solvers/compressible/rhopSonicFoam/Allwmake index cccfd63757a24c4a12f2c1393ce303b6ea8a469d..698558da0b6d815e5c36e91e94862a0effbcf637 100755 --- a/applications/solvers/compressible/rhopSonicFoam/Allwmake +++ b/applications/solvers/compressible/rhopSonicFoam/Allwmake @@ -1,5 +1,8 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso BCs wmake + +# ----------------------------------------------------------------- end-of-file diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake index 8314bfa06991a05be54c86f0b983dca160329fe6..29294d166a947be8f5f391168d9e4f67faeb8718 100755 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake @@ -1,7 +1,10 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso phaseModel wmake libso interfacialModels wmake libso kineticTheoryModels wmake + +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/mesh/conversion/Optional/Allwmake b/applications/utilities/mesh/conversion/Optional/Allwmake index 2db40f48adc82bbfc4cf31f9c9401b5e3c7abe3b..2734e4156222313e279d96eabe4bbe1e9ee240d1 100755 --- a/applications/utilities/mesh/conversion/Optional/Allwmake +++ b/applications/utilities/mesh/conversion/Optional/Allwmake @@ -2,7 +2,6 @@ # # Build optional components (eg, may depend on third-party libraries) # ----------------------------------------------------------------------------- - cd ${0%/*} || exit 1 # run from this directory set -x @@ -18,4 +17,4 @@ then wmake ccm26ToFoam fi -# end +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/mesh/generation/extrudeMesh/Allwmake b/applications/utilities/mesh/generation/extrudeMesh/Allwmake index 876125ce82b6f33486d0bc89d65c0590062014e2..871cad2b6868d48bf786c99e56b56eb91734edf7 100755 --- a/applications/utilities/mesh/generation/extrudeMesh/Allwmake +++ b/applications/utilities/mesh/generation/extrudeMesh/Allwmake @@ -1,6 +1,8 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso extrudeModel wmake +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/mesh/manipulation/setSet/Allwmake b/applications/utilities/mesh/manipulation/setSet/Allwmake index 35e3af7c1b9178f680b72e643819401ab3f6a636..e10d037cbc8c727ff564e1cff2a30d722b4e4848 100755 --- a/applications/utilities/mesh/manipulation/setSet/Allwmake +++ b/applications/utilities/mesh/manipulation/setSet/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory READLINE=0 if [ -f /usr/include/readline/readline.h ]; then @@ -9,3 +10,5 @@ if [ -f /usr/include/readline/readline.h ]; then fi export READLINE wmake + +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake b/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake index a7e703b8c0a978741416ef3364367e2925dc9c06..c7a80fc7fbb2bc05d26200f074d4cfaaaec60b51 100755 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake @@ -17,3 +17,5 @@ then ;; esac fi + +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/Allwmake b/applications/utilities/postProcessing/graphics/PVFoamReader/Allwmake index ea67e28d5b9bcdbcab19c1d97adf950feb787743..b1106aa608e77914b8c251d30e8978b6a00dcc3b 100755 --- a/applications/utilities/postProcessing/graphics/PVFoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PVFoamReader/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] @@ -16,3 +17,5 @@ then ;; esac fi + +# ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/Allwmake b/applications/utilities/postProcessing/graphics/ensightFoamReader/Allwmake index aca3e014c98f47e4f4e185ef81a1246f5dcfdacf..f29cdda208386794ff1b67d4e6e8de52e0298877 100755 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/Allwmake @@ -1,2 +1,6 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + wmake libso + +# ----------------------------------------------------------------- end-of-file diff --git a/doc/Doxygen/Allwmake b/doc/Doxygen/Allwmake index 7f9ccb0522b32ab61ea468a925c22d5a789e9ffb..dab44579b84c247b65f8ae3eea162f6d31924a80 100755 --- a/doc/Doxygen/Allwmake +++ b/doc/Doxygen/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x umask 22 diff --git a/src/Pstream/Allwmake b/src/Pstream/Allwmake index eb51ef379ec8087a94f033cd1db472ea98e97ece..4398b810f9a40dad423ce3a7e341839c0b69cff0 100755 --- a/src/Pstream/Allwmake +++ b/src/Pstream/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso dummy @@ -18,3 +19,4 @@ GAMMA) ;; esac +# ----------------------------------------------------------------- end-of-file diff --git a/src/conversion/Allwmake b/src/conversion/Allwmake index 72e9c2b141c710000251e401749d7e614ff76963..a7168eeab1ac3959b97ef420010bdb59d397590d 100755 --- a/src/conversion/Allwmake +++ b/src/conversion/Allwmake @@ -1,4 +1,7 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso + +# ----------------------------------------------------------------- end-of-file diff --git a/src/decompositionAgglomeration/Allwmake b/src/decompositionAgglomeration/Allwmake index 62018ac3fc84addf920e41e5fc7fb7b88b467307..144244776fe0ba056d03216495084e4542068531 100755 --- a/src/decompositionAgglomeration/Allwmake +++ b/src/decompositionAgglomeration/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso decompositionMethods diff --git a/src/lagrangian/Allwmake b/src/lagrangian/Allwmake index 0a5e86bdefa2e0948fb0d6ad077e436ae7cc518f..a3aa1794909cc9cae7558c08f3014b41eff7440c 100755 --- a/src/lagrangian/Allwmake +++ b/src/lagrangian/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso basic @@ -8,3 +9,4 @@ wmake libso dieselSpray (cd molecularDynamics && wmake libso potential) (cd molecularDynamics && wmake libso molecule) +# ----------------------------------------------------------------- end-of-file diff --git a/src/postProcessing/Allwmake b/src/postProcessing/Allwmake index a7b00e35a34268a25a3bd82259aaa0eb3bd25ff3..f67ba57aa1f70da1d1582a1db713c30f5337a204 100755 --- a/src/postProcessing/Allwmake +++ b/src/postProcessing/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libo postCalc @@ -6,4 +7,4 @@ wmake libso forces wmake libso fieldAverage wmake libso foamCalcFunctions - +# ----------------------------------------------------------------- end-of-file diff --git a/src/thermophysicalModels/Allwmake b/src/thermophysicalModels/Allwmake index 69a99a09add92038d4290e55e7de998067818bba..62175e440fb768dec572cec706bdb787b360c2c7 100755 --- a/src/thermophysicalModels/Allwmake +++ b/src/thermophysicalModels/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso specie @@ -16,3 +17,4 @@ wmake libso pdfs wmake libso radiation wmake libso barotropicCompressibilityModel +# ----------------------------------------------------------------- end-of-file diff --git a/src/transportModels/Allwmake b/src/transportModels/Allwmake index fed5ed5fc15823ff577917e543e46e29c844b9de..7272653e0dfd6df078e8f9a115a33a4d13fca6ac 100755 --- a/src/transportModels/Allwmake +++ b/src/transportModels/Allwmake @@ -1,6 +1,9 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso incompressible wmake libso interfaceProperties -#wmake libso compressible +# wmake libso compressible + +# ----------------------------------------------------------------- end-of-file diff --git a/src/turbulenceModels/Allwmake b/src/turbulenceModels/Allwmake index a05e81fc00ac07ad38b5f6a7424bde23be04898f..b4633551acf0ffce6bc401c3f321f3885dd4fc20 100755 --- a/src/turbulenceModels/Allwmake +++ b/src/turbulenceModels/Allwmake @@ -1,5 +1,8 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x ( cd RAS && ./Allwmake ) ( cd LES && ./Allwmake ) + +# ----------------------------------------------------------------- end-of-file diff --git a/src/turbulenceModels/LES/Allwmake b/src/turbulenceModels/LES/Allwmake index a8a3a782d07e958874a8b40afaa06706423ef7e8..bd99dd1f4e26d091ca717a42973af7e8b148c184 100755 --- a/src/turbulenceModels/LES/Allwmake +++ b/src/turbulenceModels/LES/Allwmake @@ -1,4 +1,5 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso LESfilters @@ -6,3 +7,5 @@ wmakeLnInclude incompressible wmake libso LESdeltas wmake libso incompressible wmake libso compressible + +# ----------------------------------------------------------------- end-of-file diff --git a/src/turbulenceModels/RAS/Allwmake b/src/turbulenceModels/RAS/Allwmake index 5ccba2b371a2f8a1c379f138a8011ebbd4058c37..5761ba6ffd784c8f5f7942aaf7089a7f3f52ba0f 100755 --- a/src/turbulenceModels/RAS/Allwmake +++ b/src/turbulenceModels/RAS/Allwmake @@ -1,5 +1,8 @@ #!/bin/sh +cd ${0%/*} || exit 1 # run from this directory set -x wmake libso incompressible wmake libso compressible + +# ----------------------------------------------------------------- end-of-file