diff --git a/applications/Allwmake b/applications/Allwmake index 14ba388bf..d851254b2 100755 --- a/applications/Allwmake +++ b/applications/Allwmake @@ -17,10 +17,7 @@ wmakeCheckPwd "$WM_PROJECT_DIR/applications" || { exit 1 } -set -x - wmake -all $targetType solvers wmake -all $targetType utilities - #------------------------------------------------------------------------------ diff --git a/applications/solvers/compressible/rhoCentralFoam/Allwclean b/applications/solvers/compressible/rhoCentralFoam/Allwclean index 34bab5c44..787221b83 100755 --- a/applications/solvers/compressible/rhoCentralFoam/Allwclean +++ b/applications/solvers/compressible/rhoCentralFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso BCs wclean diff --git a/applications/solvers/compressible/rhoCentralFoam/Allwmake b/applications/solvers/compressible/rhoCentralFoam/Allwmake index 8595a53d0..5dee7d1a8 100755 --- a/applications/solvers/compressible/rhoCentralFoam/Allwmake +++ b/applications/solvers/compressible/rhoCentralFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x (wmake $targetType BCs && wmake $targetType && wmake $targetType rhoCentralDyMFoam) diff --git a/applications/solvers/lagrangian/DPMFoam/Allwclean b/applications/solvers/lagrangian/DPMFoam/Allwclean index 6d736b237..158a56c8f 100755 --- a/applications/solvers/lagrangian/DPMFoam/Allwclean +++ b/applications/solvers/lagrangian/DPMFoam/Allwclean @@ -1,7 +1,6 @@ #!/bin/sh cd ${0%/*} || exit 1 -set -x wclean libso DPMTurbulenceModels wclean diff --git a/applications/solvers/lagrangian/DPMFoam/Allwmake b/applications/solvers/lagrangian/DPMFoam/Allwmake index 9f702db88..1f021bfc2 100755 --- a/applications/solvers/lagrangian/DPMFoam/Allwmake +++ b/applications/solvers/lagrangian/DPMFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType DPMTurbulenceModels diff --git a/applications/solvers/multiphase/compressibleInterFoam/Allwclean b/applications/solvers/multiphase/compressibleInterFoam/Allwclean index 0e2651242..deb5e2378 100755 --- a/applications/solvers/multiphase/compressibleInterFoam/Allwclean +++ b/applications/solvers/multiphase/compressibleInterFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso twoPhaseMixtureThermo wclean diff --git a/applications/solvers/multiphase/compressibleInterFoam/Allwmake b/applications/solvers/multiphase/compressibleInterFoam/Allwmake index 6542a6235..20da00c47 100755 --- a/applications/solvers/multiphase/compressibleInterFoam/Allwmake +++ b/applications/solvers/multiphase/compressibleInterFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType twoPhaseMixtureThermo diff --git a/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwclean b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwclean index 628a70b51..657fd9d24 100755 --- a/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwclean +++ b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso multiphaseMixtureThermo wclean diff --git a/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwmake b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwmake index 2a3c534c3..b92d87aef 100755 --- a/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwmake +++ b/applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType multiphaseMixtureThermo wmake $targetType diff --git a/applications/solvers/multiphase/driftFluxFoam/Allwclean b/applications/solvers/multiphase/driftFluxFoam/Allwclean index dcdca8527..e3d46596b 100755 --- a/applications/solvers/multiphase/driftFluxFoam/Allwclean +++ b/applications/solvers/multiphase/driftFluxFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso mixtureViscosityModels wclean libso relativeVelocityModels diff --git a/applications/solvers/multiphase/driftFluxFoam/Allwmake b/applications/solvers/multiphase/driftFluxFoam/Allwmake index e4af29196..069235819 100755 --- a/applications/solvers/multiphase/driftFluxFoam/Allwmake +++ b/applications/solvers/multiphase/driftFluxFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType mixtureViscosityModels wmake $targetType relativeVelocityModels diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean b/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean index bc351e27d..573e235fd 100755 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean +++ b/applications/solvers/multiphase/interPhaseChangeFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso phaseChangeTwoPhaseMixtures wclean diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake b/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake index c0ac039a5..dfcde284e 100755 --- a/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake +++ b/applications/solvers/multiphase/interPhaseChangeFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType phaseChangeTwoPhaseMixtures wmake $targetType diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/Allwclean b/applications/solvers/multiphase/multiphaseEulerFoam/Allwclean index 6d174c19d..727191ec3 100755 --- a/applications/solvers/multiphase/multiphaseEulerFoam/Allwclean +++ b/applications/solvers/multiphase/multiphaseEulerFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso multiphaseSystem wclean libso interfacialModels diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/Allwmake b/applications/solvers/multiphase/multiphaseEulerFoam/Allwmake index d81a6d71a..d38522312 100755 --- a/applications/solvers/multiphase/multiphaseEulerFoam/Allwmake +++ b/applications/solvers/multiphase/multiphaseEulerFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmakeLnInclude interfacialModels wmake $targetType multiphaseSystem diff --git a/applications/solvers/multiphase/multiphaseInterFoam/Allwclean b/applications/solvers/multiphase/multiphaseInterFoam/Allwclean index 75d8939d3..9b5595f2a 100755 --- a/applications/solvers/multiphase/multiphaseInterFoam/Allwclean +++ b/applications/solvers/multiphase/multiphaseInterFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso multiphaseMixture wclean diff --git a/applications/solvers/multiphase/multiphaseInterFoam/Allwmake b/applications/solvers/multiphase/multiphaseInterFoam/Allwmake index 000e9f774..50f78a705 100755 --- a/applications/solvers/multiphase/multiphaseInterFoam/Allwmake +++ b/applications/solvers/multiphase/multiphaseInterFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType multiphaseMixture wmake $targetType diff --git a/applications/solvers/multiphase/reactingEulerFoam/Allwclean b/applications/solvers/multiphase/reactingEulerFoam/Allwclean index 5474c3349..ad8f3f8fa 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/Allwclean +++ b/applications/solvers/multiphase/reactingEulerFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso phaseSystems wclean libso interfacialModels diff --git a/applications/solvers/multiphase/reactingEulerFoam/Allwmake b/applications/solvers/multiphase/reactingEulerFoam/Allwmake index f67d35aa2..87e6a81e3 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/Allwmake +++ b/applications/solvers/multiphase/reactingEulerFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmakeLnInclude interfacialModels wmakeLnInclude interfacialCompositionModels diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwclean b/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwclean index 983c20bdc..451b6672a 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwclean +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso multiphaseSystem wclean libso multiphaseCompressibleTurbulenceModels diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwmake b/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwmake index ea7fab7a8..05211a003 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwmake +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType multiphaseSystem wmake $targetType multiphaseCompressibleTurbulenceModels diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwclean b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwclean index 59ec72ff1..2d0f2fde9 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwclean +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso twoPhaseSystem wclean libso twoPhaseCompressibleTurbulenceModels diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwmake b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwmake index d151b361d..49c983288 100755 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwmake +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType twoPhaseSystem wmake $targetType twoPhaseCompressibleTurbulenceModels diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwclean b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwclean index aec987388..056bc90a3 100755 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwclean +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso twoPhaseSystem wclean libso interfacialModels diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake index a73a5ce41..9eb3ae37c 100755 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmakeLnInclude interfacialModels wmake $targetType twoPhaseSystem diff --git a/applications/utilities/mesh/conversion/Optional/Allwmake b/applications/utilities/mesh/conversion/Optional/Allwmake index 1ac99007a..f0766fb64 100755 --- a/applications/utilities/mesh/conversion/Optional/Allwmake +++ b/applications/utilities/mesh/conversion/Optional/Allwmake @@ -6,7 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for compilation (at least for error catching) . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x # build libccmio and create lnInclude directory $WM_THIRD_PARTY_DIR/AllwmakeLibccmio diff --git a/applications/utilities/mesh/generation/extrude2DMesh/Allwclean b/applications/utilities/mesh/generation/extrude2DMesh/Allwclean index 48a8fb0d1..71e45051e 100755 --- a/applications/utilities/mesh/generation/extrude2DMesh/Allwclean +++ b/applications/utilities/mesh/generation/extrude2DMesh/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso extrude2DMesh wclean diff --git a/applications/utilities/mesh/generation/extrude2DMesh/Allwmake b/applications/utilities/mesh/generation/extrude2DMesh/Allwmake index 37a2358c5..f8637ab7e 100755 --- a/applications/utilities/mesh/generation/extrude2DMesh/Allwmake +++ b/applications/utilities/mesh/generation/extrude2DMesh/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType extrude2DMesh wmake $targetType diff --git a/applications/utilities/mesh/generation/foamyMesh/Allwclean b/applications/utilities/mesh/generation/foamyMesh/Allwclean index 8fbad7478..725d20869 100755 --- a/applications/utilities/mesh/generation/foamyMesh/Allwclean +++ b/applications/utilities/mesh/generation/foamyMesh/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean conformalVoronoiMesh wclean conformalVoronoi2DMesh diff --git a/applications/utilities/mesh/generation/foamyMesh/Allwmake b/applications/utilities/mesh/generation/foamyMesh/Allwmake index 76027b0ad..69928f35a 100755 --- a/applications/utilities/mesh/generation/foamyMesh/Allwmake +++ b/applications/utilities/mesh/generation/foamyMesh/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType conformalVoronoiMesh wmake $targetType conformalVoronoi2DMesh diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/Allwmake b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/Allwmake index 280efe9bd..c3f900341 100755 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/Allwmake +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for compilation (at least for error catching) . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x if [ -d "${FASTDUALOCTREE_SRC_PATH}" ] then diff --git a/applications/utilities/mesh/manipulation/setSet/Allwmake b/applications/utilities/mesh/manipulation/setSet/Allwmake index ce9bef733..49aaea637 100755 --- a/applications/utilities/mesh/manipulation/setSet/Allwmake +++ b/applications/utilities/mesh/manipulation/setSet/Allwmake @@ -11,7 +11,7 @@ unset COMP_FLAGS LINK_FLAGS # if [ -f /usr/include/readline/readline.h ] then - echo "Found -- enabling readline support." + echo " found -- enabling readline support." export COMP_FLAGS="-DHAS_READLINE" export LINK_FLAGS="-lreadline" fi diff --git a/applications/utilities/miscellaneous/foamHelp/Allwmake b/applications/utilities/miscellaneous/foamHelp/Allwmake index 87d2293c2..c00e52a89 100755 --- a/applications/utilities/miscellaneous/foamHelp/Allwmake +++ b/applications/utilities/miscellaneous/foamHelp/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType helpTypes wmake $targetType diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake index d2cc359d9..06e4b4829 100755 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake @@ -4,10 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for application compilation (at least for error control) . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -if [ ! -d ${WM_THIRD_PARTY_DIR}/tecio ] +if [ -d ${WM_THIRD_PARTY_DIR}/tecio ] then - echo "Did not find tecio in ${WM_THIRD_PARTY_DIR}. Not building foamToTecplot360." -else wmake $targetType fi diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/Allwmake b/applications/utilities/postProcessing/dataConversion/foamToVTK/Allwmake index 150ac3019..81e0196f9 100755 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/Allwmake +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType foamToVTK wmake $targetType diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/Allwclean b/applications/utilities/postProcessing/graphics/PV3Readers/Allwclean index 47add82a9..e959f16ae 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/Allwclean +++ b/applications/utilities/postProcessing/graphics/PV3Readers/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso vtkPV3Readers PV3blockMeshReader/Allwclean diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake b/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake index 13c63f7b0..5567103c5 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -#set -x case "$ParaView_VERSION" in 3*) @@ -22,12 +21,9 @@ case "$ParaView_VERSION" in PV3blockMeshReader/Allwmake $targetType $* PV3FoamReader/Allwmake $targetType $* else - echo "ERROR: ParaView not found in $ParaView_DIR" + echo " ERROR: ParaView not found in $ParaView_DIR" fi ;; -*) - echo "WARN: PV3 readers not building: ParaView_VERSION=$ParaView_VERSION" - ;; esac #------------------------------------------------------------------------------ diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwclean b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwclean index 7d374ba5e..6ece2dea3 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwclean +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x # deal with client/server vs combined plugins rm -f $FOAM_LIBBIN/libPV3FoamReader* 2>/dev/null diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwmake b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwmake index 05d46f149..4bffb8573 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwclean b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwclean index 1e6cdb695..044563967 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwclean +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x # deal with client/server vs combined plugins rm -f $FOAM_LIBBIN/libPV3blockMeshReader* 2>/dev/null diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwmake b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwmake index 241091e0c..124909d87 100755 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then diff --git a/applications/utilities/postProcessing/graphics/PVReaders/Allwclean b/applications/utilities/postProcessing/graphics/PVReaders/Allwclean index 0e2ae161c..a0ae16a29 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/Allwclean +++ b/applications/utilities/postProcessing/graphics/PVReaders/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wclean libso vtkPVReaders PVblockMeshReader/Allwclean diff --git a/applications/utilities/postProcessing/graphics/PVReaders/Allwmake b/applications/utilities/postProcessing/graphics/PVReaders/Allwmake index 3be5a4ecb..c32dbb6fe 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/Allwmake +++ b/applications/utilities/postProcessing/graphics/PVReaders/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -#set -x case "$ParaView_VERSION" in 4* | 5*) @@ -22,12 +21,9 @@ case "$ParaView_VERSION" in PVblockMeshReader/Allwmake $targetType $* PVFoamReader/Allwmake $targetType $* else - echo "ERROR: ParaView not found in $ParaView_DIR" + echo " ERROR: ParaView not found in $ParaView_DIR" fi ;; -*) - echo "WARN: PV readers not building: ParaView_VERSION=$ParaView_VERSION" - ;; esac #------------------------------------------------------------------------------ diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwclean b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwclean index 59f8be2f2..4f9293f14 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwclean +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x # deal with client/server vs combined plugins rm -f $FOAM_LIBBIN/libPVFoamReader* 2>/dev/null diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwmake b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwmake index adb0bfb3c..f7df1fb8e 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwclean b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwclean index 5401dfdd0..dd5f34815 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwclean +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwclean @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x # deal with client/server vs combined plugins rm -f $FOAM_LIBBIN/libPVblockMeshReader* 2>/dev/null diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwmake b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwmake index 992e835a6..6cf5fde8b 100755 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then diff --git a/applications/utilities/preProcessing/wallFunctionTable/Allwmake b/applications/utilities/preProcessing/wallFunctionTable/Allwmake index 2aa17958a..06612a9c6 100755 --- a/applications/utilities/preProcessing/wallFunctionTable/Allwmake +++ b/applications/utilities/preProcessing/wallFunctionTable/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType tabulatedWallFunction wmake $targetType diff --git a/doc/Allwmake b/doc/Allwmake index ba28b7955..f6684e337 100755 --- a/doc/Allwmake +++ b/doc/Allwmake @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x # fix permissions (NB: '+X' and not '+x'!) chmod a+rX $WM_PROJECT_DIR $WM_PROJECT_DIR/doc Doxygen diff --git a/doc/Doxygen/Allwmake b/doc/Doxygen/Allwmake index 3784ac39a..780d63079 100755 --- a/doc/Doxygen/Allwmake +++ b/doc/Doxygen/Allwmake @@ -2,9 +2,9 @@ cd ${0%/*} || exit 1 # Run from this directory [ -d "$WM_PROJECT_DIR" ] || { - echo "Error: WM_PROJECT_DIR directory does not exist" - echo " Check the OpenFOAM entries in your dot-files and source them." - echo " WM_PROJECT_DIR=$WM_PROJECT_DIR" + echo " Error: WM_PROJECT_DIR directory does not exist" + echo " Check the OpenFOAM entries in your dot-files and source them." + echo " WM_PROJECT_DIR=$WM_PROJECT_DIR" exit 1 } @@ -62,8 +62,6 @@ done #------------------------------------------------------------------------------ -set -x - rm -rf latex man # remove html directory in background diff --git a/doc/tools/find-its b/doc/tools/find-its deleted file mode 100755 index 44c85130f..000000000 --- a/doc/tools/find-its +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# Script -# find-its -# -# Description -# Search for files with "it's" -# This contraction (== "it is") looks too much like "its" (possesive) -# and confuses non-native (and some native) English speakers. -# -#------------------------------------------------------------------------------ -set -x -cd $WM_PROJECT_DIR || exit 1 - -git grep -e "it's" - -#------------------------------------------------------------------------------ diff --git a/doc/tools/find-trailingspace b/doc/tools/find-trailingspace index a7bf8390f..1dfcf1ed3 100755 --- a/doc/tools/find-trailingspace +++ b/doc/tools/find-trailingspace @@ -7,7 +7,6 @@ # Search for files with trailing whitesapce # #------------------------------------------------------------------------------ -set -x cd $WM_PROJECT_DIR || exit 1 tab=$'\t' diff --git a/src/Allwmake b/src/Allwmake index 6419e510a..5e6eedf3f 100755 --- a/src/Allwmake +++ b/src/Allwmake @@ -17,8 +17,6 @@ wmakeCheckPwd "$WM_PROJECT_DIR/src" || { exit 1 } -set -x - # Update OpenFOAM version strings if required wmakePrintBuild -check || wrmo OpenFOAM/global/global.o 2>/dev/null diff --git a/src/OSspecific/POSIX/Allwmake b/src/OSspecific/POSIX/Allwmake index bd5b6259b..d932523c9 100755 --- a/src/OSspecific/POSIX/Allwmake +++ b/src/OSspecific/POSIX/Allwmake @@ -12,7 +12,7 @@ unset COMP_FLAGS LINK_FLAGS # if [ -f /usr/include/sys/inotify.h ] then - echo "Found -- enabling inotify for file monitoring." + echo " found -- enabling inotify for file monitoring." export COMP_FLAGS="-DFOAM_USE_INOTIFY" else unset COMP_FLAGS diff --git a/src/Pstream/Allwclean b/src/Pstream/Allwclean index df3ca316d..2650e4e38 100755 --- a/src/Pstream/Allwclean +++ b/src/Pstream/Allwclean @@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory # clean the qualified directory wcleanMpiLib() { - set +x for libName do ( @@ -13,15 +12,12 @@ wcleanMpiLib() wclean $libName ) done - set -x } -set -x wclean dummy case "$WM_MPLIB" in *MPI*) - set +x wcleanMpiLib mpi ;; esac diff --git a/src/Pstream/Allwmake b/src/Pstream/Allwmake index a73b43cf0..9fdd37bae 100755 --- a/src/Pstream/Allwmake +++ b/src/Pstream/Allwmake @@ -10,27 +10,22 @@ cd ${0%/*} || exit 1 # Run from this directory # use sentinel file to handle version changes wmakeMpiLib() { - set +x for libName do ( WM_OPTIONS="$WM_OPTIONS$WM_MPLIB" whichmpi="$WM_PROJECT_DIR/platforms/$WM_OPTIONS/src/Pstream/$libName/using:$FOAM_MPI" [ -e "$whichmpi" ] || wclean $libName - echo "wmake $targetType $libName" wmake $targetType $libName touch "$whichmpi" ) done - set -x } -set -x wmake $targetType dummy case "$WM_MPLIB" in *MPI*) - set +x wmakeMpiLib mpi ;; esac diff --git a/src/TurbulenceModels/Allwmake b/src/TurbulenceModels/Allwmake index 630178d15..9691a8b1c 100755 --- a/src/TurbulenceModels/Allwmake +++ b/src/TurbulenceModels/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType turbulenceModels wmake $targetType incompressible diff --git a/src/conversion/Allwmake b/src/conversion/Allwmake index 4b81d4b8c..2471b6d55 100755 --- a/src/conversion/Allwmake +++ b/src/conversion/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType diff --git a/src/dummyThirdParty/Allwmake b/src/dummyThirdParty/Allwmake index e67e3de74..3dac95f41 100755 --- a/src/dummyThirdParty/Allwmake +++ b/src/dummyThirdParty/Allwmake @@ -3,12 +3,10 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType scotchDecomp wmake $targetType ptscotchDecomp wmake $targetType metisDecomp wmake $targetType MGridGen - #------------------------------------------------------------------------------ diff --git a/src/functionObjects/Allwmake b/src/functionObjects/Allwmake index 4322aec4e..e2b688a68 100755 --- a/src/functionObjects/Allwmake +++ b/src/functionObjects/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType field wmake $targetType forces diff --git a/src/fvAgglomerationMethods/Allwmake b/src/fvAgglomerationMethods/Allwmake index 9a5ad4bb2..dcef4328c 100755 --- a/src/fvAgglomerationMethods/Allwmake +++ b/src/fvAgglomerationMethods/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0 @@ -14,5 +13,4 @@ fi wmake $targetType pairPatchAgglomeration - #------------------------------------------------------------------------------ diff --git a/src/lagrangian/Allwmake b/src/lagrangian/Allwmake index 3d09e66bf..a70ae861b 100755 --- a/src/lagrangian/Allwmake +++ b/src/lagrangian/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType distributionModels wmake $targetType basic diff --git a/src/lagrangian/molecularDynamics/Allwmake b/src/lagrangian/molecularDynamics/Allwmake index 8a53eb6fb..c1221b264 100755 --- a/src/lagrangian/molecularDynamics/Allwmake +++ b/src/lagrangian/molecularDynamics/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType potential wmake $targetType molecularMeasurements diff --git a/src/mesh/Allwmake b/src/mesh/Allwmake index 796b508d3..52ef361a9 100755 --- a/src/mesh/Allwmake +++ b/src/mesh/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType snappyHexMesh wmake $targetType blockMesh diff --git a/src/parallel/Allwmake b/src/parallel/Allwmake index 2f1cf3127..a588a2b79 100755 --- a/src/parallel/Allwmake +++ b/src/parallel/Allwmake @@ -3,11 +3,9 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x decompose/Allwmake $targetType $* reconstruct/Allwmake $targetType $* wmake $targetType distributed - #------------------------------------------------------------------------------ diff --git a/src/parallel/decompose/Allwclean b/src/parallel/decompose/Allwclean index 62e2d2969..e0acdabc1 100755 --- a/src/parallel/decompose/Allwclean +++ b/src/parallel/decompose/Allwclean @@ -5,20 +5,17 @@ cd ${0%/*} || exit 1 # Run from this directory if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch` then . $settings - echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" + echo " using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" else echo - echo "Error: no config.sh/scotch settings" + echo " Error: no config.sh/scotch settings" echo fi -# -# define how to clean an mpi-versioned library -# +# Define how to clean an mpi-versioned library wcleanMpiLib() { - set +x for libName do ( @@ -28,11 +25,8 @@ wcleanMpiLib() wclean $libName ) done - set -x } -set -x - if [ -n "$SCOTCH_ARCH_PATH" ] then wclean scotchDecomp @@ -42,16 +36,11 @@ then wcleanMpiLib ptscotchDecomp fi else - echo - echo "Skipping scotchDecomp (ptscotchDecomp)" - echo + echo " skipping scotchDecomp (ptscotchDecomp)" fi - wclean metisDecomp - wclean decompositionMethods - wclean decompose #------------------------------------------------------------------------------ diff --git a/src/parallel/decompose/Allwmake b/src/parallel/decompose/Allwmake index 3be5235ee..20a3d4dfc 100755 --- a/src/parallel/decompose/Allwmake +++ b/src/parallel/decompose/Allwmake @@ -4,26 +4,24 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -# get SCOTCH_VERSION, SCOTCH_ARCH_PATH + +# Get SCOTCH_VERSION, SCOTCH_ARCH_PATH if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch` then . $settings - echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" + echo " using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" else echo - echo "Error: no config.sh/scotch settings" + echo " Error: no config.sh/scotch settings" echo fi -# -# define how to create an mpi-versioned library of $targetType +# Define how to create an mpi-versioned library of $targetType # compile into qualified directory # use sentinel file to handle version changes -# wmakeMpiLib() { - set +x for libName do ( @@ -36,11 +34,8 @@ wmakeMpiLib() touch "$whichmpi" "$whichscotch" ) done - set -x } -set -x - wmakeLnInclude decompositionMethods if [ -n "$SCOTCH_ARCH_PATH" ] @@ -52,18 +47,15 @@ then wmakeMpiLib ptscotchDecomp fi else - echo - echo "Skipping scotchDecomp (ptscotchDecomp)" - echo + echo " skipping scotchDecomp (ptscotchDecomp)" fi # Try and build metisDecomp (has own logic) (cd metisDecomp && ./Allwmake $targetType) - wmake $targetType decompositionMethods - wmake $targetType decompose + #------------------------------------------------------------------------------ diff --git a/src/parallel/decompose/AllwmakeLnInclude b/src/parallel/decompose/AllwmakeLnInclude index 4f4216409..74fdde1f3 100755 --- a/src/parallel/decompose/AllwmakeLnInclude +++ b/src/parallel/decompose/AllwmakeLnInclude @@ -1,6 +1,5 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x wmakeLnInclude decompositionMethods wmakeLnInclude metisDecomp diff --git a/src/parallel/decompose/metisDecomp/Allwmake b/src/parallel/decompose/metisDecomp/Allwmake index 2f666aba2..c52b1e52a 100755 --- a/src/parallel/decompose/metisDecomp/Allwmake +++ b/src/parallel/decompose/metisDecomp/Allwmake @@ -8,14 +8,14 @@ cd ${0%/*} || exit 1 # Run from this directory if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config.sh/metis` then . $settings - echo "using METIS_ARCH_PATH=$METIS_ARCH_PATH" + echo " using METIS_ARCH_PATH=$METIS_ARCH_PATH" if [ -r $METIS_ARCH_PATH/lib/libmetis.so ] then wmake $targetType fi else echo - echo "Error: no config.sh/metis settings" + echo " Error: no config.sh/metis settings" echo fi diff --git a/src/parallel/reconstruct/Allwmake b/src/parallel/reconstruct/Allwmake index 647a42cb3..d9ebb6fc9 100755 --- a/src/parallel/reconstruct/Allwmake +++ b/src/parallel/reconstruct/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType reconstruct diff --git a/src/regionModels/Allwclean b/src/regionModels/Allwclean index 94b090185..2996d85d6 100755 --- a/src/regionModels/Allwclean +++ b/src/regionModels/Allwclean @@ -1,7 +1,6 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory makeType=${1:-libso} -set -x wclean $makeType regionModel wclean $makeType pyrolysisModels @@ -9,5 +8,4 @@ wclean $makeType surfaceFilmModels wclean $makeType thermalBaffleModels wclean $makeType regionCoupling - #------------------------------------------------------------------------------ diff --git a/src/regionModels/Allwmake b/src/regionModels/Allwmake index c8e86eef7..1f2348ee2 100755 --- a/src/regionModels/Allwmake +++ b/src/regionModels/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType regionModel wmake $targetType pyrolysisModels @@ -12,5 +11,4 @@ wmake $targetType surfaceFilmModels/derivedFvPatchFields/wallFunctions wmake $targetType thermalBaffleModels wmake $targetType regionCoupling - #------------------------------------------------------------------------------ diff --git a/src/renumber/Allwmake b/src/renumber/Allwmake index 058816b1a..fca882bd3 100755 --- a/src/renumber/Allwmake +++ b/src/renumber/Allwmake @@ -4,8 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -wmake $targetType renumberMethods - # Deprecate SloanRenumber due to dependency on BOOST causing build and # installation problems on a range of legacy systems. # wmake $targetType SloanRenumber @@ -14,9 +12,9 @@ if [ -n "$ZOLTAN_ARCH_PATH" ] then wmake $targetType zoltanRenumber else - echo - echo "Skipping zoltanRenumber" - echo + echo " skipping zoltanRenumber" fi +wmake $targetType renumberMethods + #------------------------------------------------------------------------------ diff --git a/src/thermophysicalModels/Allwmake b/src/thermophysicalModels/Allwmake index 5df22b24b..2c90db55a 100755 --- a/src/thermophysicalModels/Allwmake +++ b/src/thermophysicalModels/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType specie wmake $targetType solidSpecie diff --git a/src/thermophysicalModels/properties/Allwmake b/src/thermophysicalModels/properties/Allwmake index e2da041c6..5ad45938f 100755 --- a/src/thermophysicalModels/properties/Allwmake +++ b/src/thermophysicalModels/properties/Allwmake @@ -3,12 +3,10 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType liquidProperties wmake $targetType liquidMixtureProperties wmake $targetType solidProperties wmake $targetType solidMixtureProperties - #------------------------------------------------------------------------------ diff --git a/src/transportModels/Allwmake b/src/transportModels/Allwmake index 4fcc281a6..b533c83c3 100755 --- a/src/transportModels/Allwmake +++ b/src/transportModels/Allwmake @@ -3,7 +3,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -set -x wmake $targetType twoPhaseMixture wmake $targetType interfaceProperties diff --git a/tutorials/incompressible/SRFPimpleFoam/rotor2D/makeMesh b/tutorials/incompressible/SRFPimpleFoam/rotor2D/makeMesh index ea511db9f..ed804d4c3 100755 --- a/tutorials/incompressible/SRFPimpleFoam/rotor2D/makeMesh +++ b/tutorials/incompressible/SRFPimpleFoam/rotor2D/makeMesh @@ -1,8 +1,6 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -set -x - m4 < system/blockMeshDict.m4 > system/blockMeshDict blockMesh > log.blockMesh 2>&1 diff --git a/wmake/scripts/AllwmakeParseArguments b/wmake/scripts/AllwmakeParseArguments index c8bb3ccb7..74a7a52b6 100644 --- a/wmake/scripts/AllwmakeParseArguments +++ b/wmake/scripts/AllwmakeParseArguments @@ -90,6 +90,14 @@ do done +#------------------------------------------------------------------------------ +# Print command +#------------------------------------------------------------------------------ + +[ -z "$targetType" ] || targetSpace=" " +echo "$Script $targetType$targetSpace$(echo $PWD | sed s%$WM_PROJECT_DIR/%% )" + + #------------------------------------------------------------------------------ # Execute wmake -all if not called from wmake #------------------------------------------------------------------------------ diff --git a/wmake/wclean b/wmake/wclean index fe8156aeb..07334cca5 100755 --- a/wmake/wclean +++ b/wmake/wclean @@ -122,8 +122,9 @@ then } fi - # Provide some feedback - echo "$Script $targetType ${dir:-.}" + # Print command + [ -z "$targetType" ] || targetSpace=" " + echo "$Script $targetType$targetSpace${dir:-.}" fi @@ -164,7 +165,7 @@ then if [ -d $objectsDir ] then - echo "Removing redundant object directories in $objectsDir" + echo " Removing redundant object directories in $objectsDir" find $objectsDir -name 'variables' -print | \ while read variablesFile @@ -253,7 +254,7 @@ unset targetType if [ -d $MakeDir ] then objectsDir=$MakeDir/$WM_OPTIONS - if echo $PWD | grep "$WM_PROJECT_DIR" + if [ $(echo $PWD | grep "$WM_PROJECT_DIR") ] then platformPath=$WM_PROJECT_DIR/platforms/${WM_OPTIONS} objectsDir=$platformPath$(echo $PWD | sed s%$WM_PROJECT_DIR%% ) diff --git a/wmake/wmake b/wmake/wmake index 989af9fe7..38f3d3ff6 100755 --- a/wmake/wmake +++ b/wmake/wmake @@ -268,6 +268,10 @@ then exit 1 } fi + + # Print command + [ -z "$targetType" ] || targetSpace=" " + echo "$Script $targetType$targetSpace${dir:-.}" fi @@ -386,7 +390,7 @@ fi #------------------------------------------------------------------------------ objectsDir=$MakeDir/$WM_OPTIONS -if echo $PWD | grep "$WM_PROJECT_DIR" +if [ $(echo $PWD | grep "$WM_PROJECT_DIR") ] then platformPath=$WM_PROJECT_DIR/platforms/${WM_OPTIONS} objectsDir=$platformPath$(echo $PWD | sed s%$WM_PROJECT_DIR%% )