From 96bfbd5aec581914646399bfdc67e6f031925793 Mon Sep 17 00:00:00 2001 From: Max Hausch Date: Thu, 2 May 2024 17:54:32 +0200 Subject: [PATCH] Fix shebangs to `#!/usr/bin/env sh` in all .sh files --- aste-turbine/clean.sh | 2 +- aste-turbine/run.sh | 2 +- breaking-dam-2d/fluid-openfoam/clean.sh | 2 +- breaking-dam-2d/fluid-openfoam/run.sh | 2 +- breaking-dam-2d/solid-calculix/clean.sh | 2 +- breaking-dam-2d/solid-calculix/run.sh | 2 +- channel-transport-reaction/chemical-fenics/clean.sh | 2 +- channel-transport-reaction/chemical-fenics/run.sh | 2 +- channel-transport-reaction/clean-tutorial.sh | 2 +- channel-transport-reaction/fluid-fenics/clean.sh | 2 +- channel-transport-reaction/fluid-fenics/run.sh | 2 +- channel-transport/fluid-nutils/clean.sh | 2 +- channel-transport/fluid-nutils/run.sh | 2 +- channel-transport/fluid-openfoam/clean.sh | 2 +- channel-transport/fluid-openfoam/run.sh | 2 +- channel-transport/transport-nutils/clean.sh | 2 +- channel-transport/transport-nutils/run.sh | 2 +- clean-all.sh | 2 +- elastic-tube-1d/fluid-cpp/clean.sh | 2 +- elastic-tube-1d/fluid-cpp/run.sh | 2 +- elastic-tube-1d/fluid-python/clean.sh | 2 +- elastic-tube-1d/fluid-python/run.sh | 2 +- elastic-tube-1d/fluid-rust/clean.sh | 2 +- elastic-tube-1d/fluid-rust/run.sh | 2 +- elastic-tube-1d/plot-all.sh | 2 +- elastic-tube-1d/plot-diameter.sh | 2 +- elastic-tube-1d/solid-cpp/clean.sh | 2 +- elastic-tube-1d/solid-cpp/run.sh | 2 +- elastic-tube-1d/solid-python/clean.sh | 2 +- elastic-tube-1d/solid-python/run.sh | 2 +- elastic-tube-1d/solid-rust/clean.sh | 2 +- elastic-tube-1d/solid-rust/run.sh | 2 +- elastic-tube-3d/fluid-openfoam/clean.sh | 2 +- elastic-tube-3d/fluid-openfoam/run.sh | 2 +- elastic-tube-3d/plot-all-displacements.sh | 2 +- elastic-tube-3d/plot-displacements.sh | 2 +- elastic-tube-3d/solid-calculix/clean.sh | 2 +- elastic-tube-3d/solid-calculix/run.sh | 2 +- elastic-tube-3d/solid-fenics/clean.sh | 2 +- elastic-tube-3d/solid-fenics/run.sh | 2 +- flow-around-controlled-moving-cylinder/clean-tutorial.sh | 2 +- flow-around-controlled-moving-cylinder/controller-fmi/clean.sh | 2 +- flow-around-controlled-moving-cylinder/controller-fmi/run.sh | 2 +- flow-around-controlled-moving-cylinder/fluid-openfoam/clean.sh | 2 +- flow-around-controlled-moving-cylinder/fluid-openfoam/run.sh | 2 +- flow-around-controlled-moving-cylinder/plot-watchpoint.sh | 2 +- flow-around-controlled-moving-cylinder/solid-python/clean.sh | 2 +- flow-around-controlled-moving-cylinder/solid-python/run.sh | 2 +- .../fluid-openfoam/clean.sh | 2 +- flow-over-heated-plate-nearest-projection/fluid-openfoam/run.sh | 2 +- .../solid-openfoam/clean.sh | 2 +- flow-over-heated-plate-nearest-projection/solid-openfoam/run.sh | 2 +- .../fluid1-openfoam/clean.sh | 2 +- flow-over-heated-plate-partitioned-flow/fluid1-openfoam/run.sh | 2 +- .../fluid2-openfoam/clean.sh | 2 +- flow-over-heated-plate-partitioned-flow/fluid2-openfoam/run.sh | 2 +- flow-over-heated-plate-partitioned-flow/solid-openfoam/clean.sh | 2 +- flow-over-heated-plate-partitioned-flow/solid-openfoam/run.sh | 2 +- flow-over-heated-plate-steady-state/fluid-openfoam/clean.sh | 2 +- flow-over-heated-plate-steady-state/fluid-openfoam/run.sh | 2 +- flow-over-heated-plate-steady-state/solid-codeaster/clean.sh | 2 +- flow-over-heated-plate-steady-state/solid-codeaster/run.sh | 2 +- flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh | 2 +- flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh | 2 +- flow-over-heated-plate-two-meshes/solid-calculix/clean.sh | 2 +- flow-over-heated-plate-two-meshes/solid-calculix/run.sh | 2 +- flow-over-heated-plate/fluid-openfoam/clean.sh | 2 +- flow-over-heated-plate/fluid-openfoam/run.sh | 2 +- flow-over-heated-plate/fluid-su2/clean.sh | 2 +- flow-over-heated-plate/fluid-su2/run.sh | 2 +- flow-over-heated-plate/solid-dunefem/clean.sh | 2 +- flow-over-heated-plate/solid-dunefem/run.sh | 2 +- flow-over-heated-plate/solid-fenics/clean.sh | 2 +- flow-over-heated-plate/solid-fenics/run.sh | 2 +- flow-over-heated-plate/solid-nutils/clean.sh | 2 +- flow-over-heated-plate/solid-nutils/run.sh | 2 +- flow-over-heated-plate/solid-openfoam/clean.sh | 2 +- flow-over-heated-plate/solid-openfoam/run.sh | 2 +- heat-exchanger-simplified/fluid-bottom-openfoam/clean.sh | 2 +- heat-exchanger-simplified/fluid-bottom-openfoam/run.sh | 2 +- heat-exchanger-simplified/fluid-top-openfoam/clean.sh | 2 +- heat-exchanger-simplified/fluid-top-openfoam/run.sh | 2 +- heat-exchanger-simplified/solid-calculix/clean.sh | 2 +- heat-exchanger-simplified/solid-calculix/run.sh | 2 +- heat-exchanger/download-meshes.sh | 2 +- heat-exchanger/fluid-inner-openfoam/clean.sh | 2 +- heat-exchanger/fluid-inner-openfoam/run.sh | 2 +- heat-exchanger/fluid-outer-openfoam/clean.sh | 2 +- heat-exchanger/fluid-outer-openfoam/run.sh | 2 +- heat-exchanger/solid-calculix/clean.sh | 2 +- heat-exchanger/solid-calculix/run.sh | 2 +- multiple-perpendicular-flaps/fluid-openfoam/clean.sh | 2 +- multiple-perpendicular-flaps/fluid-openfoam/run.sh | 2 +- multiple-perpendicular-flaps/solid-downstream-dealii/clean.sh | 2 +- .../solid-downstream-dealii/plot-displacement.sh | 2 +- multiple-perpendicular-flaps/solid-upstream-dealii/clean.sh | 2 +- .../solid-upstream-dealii/plot-displacement.sh | 2 +- oscillator-overlap/mass-left-python/clean.sh | 2 +- oscillator-overlap/mass-left-python/run.sh | 2 +- oscillator-overlap/mass-right-python/clean.sh | 2 +- oscillator-overlap/mass-right-python/run.sh | 2 +- oscillator/mass-left-fmi/clean.sh | 2 +- oscillator/mass-left-fmi/run.sh | 2 +- oscillator/mass-left-python/clean.sh | 2 +- oscillator/mass-left-python/run.sh | 2 +- oscillator/mass-right-fmi/clean.sh | 2 +- oscillator/mass-right-fmi/run.sh | 2 +- oscillator/mass-right-python/clean.sh | 2 +- oscillator/mass-right-python/run.sh | 2 +- partitioned-backwards-facing-step/fluid1-openfoam/clean.sh | 2 +- partitioned-backwards-facing-step/fluid1-openfoam/run.sh | 2 +- partitioned-backwards-facing-step/fluid2-openfoam/clean.sh | 2 +- partitioned-backwards-facing-step/fluid2-openfoam/run.sh | 2 +- partitioned-elastic-beam/dirichlet-calculix/clean.sh | 2 +- partitioned-elastic-beam/dirichlet-calculix/run.sh | 2 +- partitioned-elastic-beam/neumann-calculix/clean.sh | 2 +- partitioned-elastic-beam/neumann-calculix/run.sh | 2 +- partitioned-heat-conduction-complex/dirichlet-fenics/clean.sh | 2 +- partitioned-heat-conduction-complex/dirichlet-fenics/run.sh | 2 +- partitioned-heat-conduction-complex/neumann-fenics/clean.sh | 2 +- partitioned-heat-conduction-complex/neumann-fenics/run.sh | 2 +- partitioned-heat-conduction-direct/clean-tutorial.sh | 2 +- partitioned-heat-conduction-direct/dirichlet-nutils/clean.sh | 2 +- partitioned-heat-conduction-direct/dirichlet-nutils/run.sh | 2 +- partitioned-heat-conduction-direct/neumann-nutils/clean.sh | 2 +- partitioned-heat-conduction-direct/neumann-nutils/run.sh | 2 +- partitioned-heat-conduction-overlap/left-fenics/clean.sh | 2 +- partitioned-heat-conduction-overlap/left-fenics/run.sh | 2 +- partitioned-heat-conduction-overlap/right-fenics/clean.sh | 2 +- partitioned-heat-conduction-overlap/right-fenics/run.sh | 2 +- partitioned-heat-conduction/dirichlet-fenics/clean.sh | 2 +- partitioned-heat-conduction/dirichlet-fenics/run.sh | 2 +- partitioned-heat-conduction/dirichlet-nutils/clean.sh | 2 +- partitioned-heat-conduction/dirichlet-nutils/run.sh | 2 +- partitioned-heat-conduction/dirichlet-openfoam/clean.sh | 2 +- partitioned-heat-conduction/dirichlet-openfoam/run.sh | 2 +- partitioned-heat-conduction/neumann-fenics/clean.sh | 2 +- partitioned-heat-conduction/neumann-fenics/run.sh | 2 +- partitioned-heat-conduction/neumann-nutils/clean.sh | 2 +- partitioned-heat-conduction/neumann-nutils/run.sh | 2 +- partitioned-heat-conduction/neumann-openfoam/clean.sh | 2 +- partitioned-heat-conduction/neumann-openfoam/run.sh | 2 +- partitioned-heat-conduction/solver-openfoam/clean.sh | 2 +- partitioned-pipe-two-phase/fluid1-openfoam/clean.sh | 2 +- partitioned-pipe-two-phase/fluid1-openfoam/run.sh | 2 +- partitioned-pipe-two-phase/fluid2-openfoam/clean.sh | 2 +- partitioned-pipe-two-phase/fluid2-openfoam/run.sh | 2 +- partitioned-pipe-two-phase/monolithic/clean.sh | 2 +- partitioned-pipe-two-phase/monolithic/run.sh | 2 +- partitioned-pipe/fluid1-openfoam-pimplefoam/clean.sh | 2 +- partitioned-pipe/fluid1-openfoam-pimplefoam/run.sh | 2 +- partitioned-pipe/fluid1-openfoam-sonicliquidfoam/clean.sh | 2 +- partitioned-pipe/fluid1-openfoam-sonicliquidfoam/run.sh | 2 +- partitioned-pipe/fluid2-openfoam-pimplefoam/clean.sh | 2 +- partitioned-pipe/fluid2-openfoam-pimplefoam/run.sh | 2 +- partitioned-pipe/fluid2-openfoam-sonicliquidfoam/clean.sh | 2 +- partitioned-pipe/fluid2-openfoam-sonicliquidfoam/run.sh | 2 +- perpendicular-flap/fluid-fake/run.sh | 2 +- perpendicular-flap/fluid-nutils/clean.sh | 2 +- perpendicular-flap/fluid-nutils/run.sh | 2 +- perpendicular-flap/fluid-openfoam/clean.sh | 2 +- perpendicular-flap/fluid-openfoam/run.sh | 2 +- perpendicular-flap/fluid-su2/clean.sh | 2 +- perpendicular-flap/fluid-su2/run.sh | 2 +- perpendicular-flap/plot-all-displacements.sh | 2 +- perpendicular-flap/plot-displacement.sh | 2 +- perpendicular-flap/solid-calculix/clean.sh | 2 +- perpendicular-flap/solid-calculix/run.sh | 2 +- perpendicular-flap/solid-dealii/clean.sh | 2 +- perpendicular-flap/solid-dune/clean.sh | 2 +- perpendicular-flap/solid-dune/run.sh | 2 +- perpendicular-flap/solid-fenics/clean.sh | 2 +- perpendicular-flap/solid-fenics/run.sh | 2 +- perpendicular-flap/solid-nutils/clean.sh | 2 +- perpendicular-flap/solid-nutils/run.sh | 2 +- perpendicular-flap/solid-openfoam/clean.sh | 2 +- perpendicular-flap/solid-openfoam/run.sh | 2 +- perpendicular-flap/solid-solids4foam/clean.sh | 2 +- perpendicular-flap/solid-solids4foam/run.sh | 2 +- quickstart/fluid-openfoam/clean.sh | 2 +- quickstart/fluid-openfoam/run.sh | 2 +- quickstart/solid-cpp/clean.sh | 2 +- quickstart/solid-cpp/run.sh | 2 +- tools/check-links-to-precice.sh | 2 +- tools/check-size.sh | 2 +- tools/check.sh | 2 +- tools/clean-tutorial-base.sh | 2 +- tools/cleaning-tools.sh | 2 +- tools/log.sh | 2 +- tools/run-dealii.sh | 2 +- tools/run-openfoam.sh | 2 +- tools/visualize-configs.sh | 2 +- turek-hron-fsi3/fluid-openfoam/clean.sh | 2 +- turek-hron-fsi3/fluid-openfoam/run.sh | 2 +- turek-hron-fsi3/plot-displacement.sh | 2 +- turek-hron-fsi3/solid-dealii/clean.sh | 2 +- two-scale-heat-conduction/compile-dumux-cases.sh | 2 +- two-scale-heat-conduction/macro-dumux/clean.sh | 2 +- two-scale-heat-conduction/macro-dumux/run.sh | 2 +- two-scale-heat-conduction/macro-nutils/clean.sh | 2 +- two-scale-heat-conduction/macro-nutils/run.sh | 2 +- two-scale-heat-conduction/micro-dumux/clean.sh | 2 +- two-scale-heat-conduction/micro-dumux/run.sh | 2 +- two-scale-heat-conduction/micro-nutils/clean.sh | 2 +- two-scale-heat-conduction/micro-nutils/run.sh | 2 +- two-scale-heat-conduction/setup-dumux.sh | 2 +- volume-coupled-diffusion/drain-fenics/clean.sh | 2 +- volume-coupled-diffusion/drain-fenics/run.sh | 2 +- volume-coupled-diffusion/source-fenics/clean.sh | 2 +- volume-coupled-diffusion/source-fenics/run.sh | 2 +- volume-coupled-flow/fluid-openfoam/clean.sh | 2 +- volume-coupled-flow/fluid-openfoam/run.sh | 2 +- volume-coupled-flow/source-nutils/clean.sh | 2 +- volume-coupled-flow/source-nutils/run.sh | 2 +- 214 files changed, 214 insertions(+), 214 deletions(-) diff --git a/aste-turbine/clean.sh b/aste-turbine/clean.sh index a0ff47451..7daccec54 100755 --- a/aste-turbine/clean.sh +++ b/aste-turbine/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../tools/cleaning-tools.sh diff --git a/aste-turbine/run.sh b/aste-turbine/run.sh index fb2ebe686..aea2bc844 100755 --- a/aste-turbine/run.sh +++ b/aste-turbine/run.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh set -e -x # This script assumes the ASTE binaries and python scripts are in $PATH or ASTE installed on your system diff --git a/breaking-dam-2d/fluid-openfoam/clean.sh b/breaking-dam-2d/fluid-openfoam/clean.sh index 26ff9416d..be0e8894e 100755 --- a/breaking-dam-2d/fluid-openfoam/clean.sh +++ b/breaking-dam-2d/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/breaking-dam-2d/fluid-openfoam/run.sh b/breaking-dam-2d/fluid-openfoam/run.sh index d1c9bfbd5..a8514617e 100755 --- a/breaking-dam-2d/fluid-openfoam/run.sh +++ b/breaking-dam-2d/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/breaking-dam-2d/solid-calculix/clean.sh b/breaking-dam-2d/solid-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/breaking-dam-2d/solid-calculix/clean.sh +++ b/breaking-dam-2d/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/breaking-dam-2d/solid-calculix/run.sh b/breaking-dam-2d/solid-calculix/run.sh index 3a9f49aae..3bcec4055 100755 --- a/breaking-dam-2d/solid-calculix/run.sh +++ b/breaking-dam-2d/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/channel-transport-reaction/chemical-fenics/clean.sh b/channel-transport-reaction/chemical-fenics/clean.sh index 614c6f928..cbd679c4a 100755 --- a/channel-transport-reaction/chemical-fenics/clean.sh +++ b/channel-transport-reaction/chemical-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/channel-transport-reaction/chemical-fenics/run.sh b/channel-transport-reaction/chemical-fenics/run.sh index 63712e999..74649930d 100755 --- a/channel-transport-reaction/chemical-fenics/run.sh +++ b/channel-transport-reaction/chemical-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/channel-transport-reaction/clean-tutorial.sh b/channel-transport-reaction/clean-tutorial.sh index 88f60e8c6..5dbb6c639 100755 --- a/channel-transport-reaction/clean-tutorial.sh +++ b/channel-transport-reaction/clean-tutorial.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # shellcheck disable=SC1091 diff --git a/channel-transport-reaction/fluid-fenics/clean.sh b/channel-transport-reaction/fluid-fenics/clean.sh index 614c6f928..cbd679c4a 100755 --- a/channel-transport-reaction/fluid-fenics/clean.sh +++ b/channel-transport-reaction/fluid-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/channel-transport-reaction/fluid-fenics/run.sh b/channel-transport-reaction/fluid-fenics/run.sh index e25136551..1ebb2b045 100755 --- a/channel-transport-reaction/fluid-fenics/run.sh +++ b/channel-transport-reaction/fluid-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/channel-transport/fluid-nutils/clean.sh b/channel-transport/fluid-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/channel-transport/fluid-nutils/clean.sh +++ b/channel-transport/fluid-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/channel-transport/fluid-nutils/run.sh b/channel-transport/fluid-nutils/run.sh index 7094b61c8..af8be059a 100755 --- a/channel-transport/fluid-nutils/run.sh +++ b/channel-transport/fluid-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/channel-transport/fluid-openfoam/clean.sh b/channel-transport/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/channel-transport/fluid-openfoam/clean.sh +++ b/channel-transport/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/channel-transport/fluid-openfoam/run.sh b/channel-transport/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/channel-transport/fluid-openfoam/run.sh +++ b/channel-transport/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/channel-transport/transport-nutils/clean.sh b/channel-transport/transport-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/channel-transport/transport-nutils/clean.sh +++ b/channel-transport/transport-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/channel-transport/transport-nutils/run.sh b/channel-transport/transport-nutils/run.sh index 4430e392c..19b64bf6e 100755 --- a/channel-transport/transport-nutils/run.sh +++ b/channel-transport/transport-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/clean-all.sh b/clean-all.sh index dc4de8d8a..db75b0df0 100755 --- a/clean-all.sh +++ b/clean-all.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u echo "Cleaning up all tutorials..." diff --git a/elastic-tube-1d/fluid-cpp/clean.sh b/elastic-tube-1d/fluid-cpp/clean.sh index f84ab182f..8d5d37784 100755 --- a/elastic-tube-1d/fluid-cpp/clean.sh +++ b/elastic-tube-1d/fluid-cpp/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/fluid-cpp/run.sh b/elastic-tube-1d/fluid-cpp/run.sh index 0e005451e..531ee2b7d 100755 --- a/elastic-tube-1d/fluid-cpp/run.sh +++ b/elastic-tube-1d/fluid-cpp/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-1d/fluid-python/clean.sh b/elastic-tube-1d/fluid-python/clean.sh index f84ab182f..8d5d37784 100755 --- a/elastic-tube-1d/fluid-python/clean.sh +++ b/elastic-tube-1d/fluid-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/fluid-python/run.sh b/elastic-tube-1d/fluid-python/run.sh index dcf4c901d..4942bf7f4 100755 --- a/elastic-tube-1d/fluid-python/run.sh +++ b/elastic-tube-1d/fluid-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-1d/fluid-rust/clean.sh b/elastic-tube-1d/fluid-rust/clean.sh index f84ab182f..8d5d37784 100755 --- a/elastic-tube-1d/fluid-rust/clean.sh +++ b/elastic-tube-1d/fluid-rust/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/fluid-rust/run.sh b/elastic-tube-1d/fluid-rust/run.sh index 9985f982b..3e5dbe1ef 100755 --- a/elastic-tube-1d/fluid-rust/run.sh +++ b/elastic-tube-1d/fluid-rust/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-1d/plot-all.sh b/elastic-tube-1d/plot-all.sh index 966610234..8ba00ee03 100755 --- a/elastic-tube-1d/plot-all.sh +++ b/elastic-tube-1d/plot-all.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh gnuplot -p << EOF set grid diff --git a/elastic-tube-1d/plot-diameter.sh b/elastic-tube-1d/plot-diameter.sh index 8d1b17c4e..ae5f84d97 100755 --- a/elastic-tube-1d/plot-diameter.sh +++ b/elastic-tube-1d/plot-diameter.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # File check solution from: https://stackoverflow.com/questions/91368/checking-from-shell-script-if-a-directory-contains-files diff --git a/elastic-tube-1d/solid-cpp/clean.sh b/elastic-tube-1d/solid-cpp/clean.sh index 4c864fb36..494c80414 100755 --- a/elastic-tube-1d/solid-cpp/clean.sh +++ b/elastic-tube-1d/solid-cpp/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/solid-cpp/run.sh b/elastic-tube-1d/solid-cpp/run.sh index fe674287d..06c84f351 100755 --- a/elastic-tube-1d/solid-cpp/run.sh +++ b/elastic-tube-1d/solid-cpp/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-1d/solid-python/clean.sh b/elastic-tube-1d/solid-python/clean.sh index 4c864fb36..494c80414 100755 --- a/elastic-tube-1d/solid-python/clean.sh +++ b/elastic-tube-1d/solid-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/solid-python/run.sh b/elastic-tube-1d/solid-python/run.sh index 6e772ed24..0e0377f12 100755 --- a/elastic-tube-1d/solid-python/run.sh +++ b/elastic-tube-1d/solid-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-1d/solid-rust/clean.sh b/elastic-tube-1d/solid-rust/clean.sh index 4c864fb36..494c80414 100755 --- a/elastic-tube-1d/solid-rust/clean.sh +++ b/elastic-tube-1d/solid-rust/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-1d/solid-rust/run.sh b/elastic-tube-1d/solid-rust/run.sh index 85bee03f5..3b79d0e20 100755 --- a/elastic-tube-1d/solid-rust/run.sh +++ b/elastic-tube-1d/solid-rust/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-3d/fluid-openfoam/clean.sh b/elastic-tube-3d/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/elastic-tube-3d/fluid-openfoam/clean.sh +++ b/elastic-tube-3d/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-3d/fluid-openfoam/run.sh b/elastic-tube-3d/fluid-openfoam/run.sh index 9d072bcda..a81410988 100755 --- a/elastic-tube-3d/fluid-openfoam/run.sh +++ b/elastic-tube-3d/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-3d/plot-all-displacements.sh b/elastic-tube-3d/plot-all-displacements.sh index b293f9b03..b88fc8b10 100755 --- a/elastic-tube-3d/plot-all-displacements.sh +++ b/elastic-tube-3d/plot-all-displacements.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh gnuplot -p << EOF set grid diff --git a/elastic-tube-3d/plot-displacements.sh b/elastic-tube-3d/plot-displacements.sh index 757aa5b20..1e4f65e43 100755 --- a/elastic-tube-3d/plot-displacements.sh +++ b/elastic-tube-3d/plot-displacements.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh if [ "${1:-}" = "" ]; then echo "No target directory specified. Please specify the directory of the solid participant containing the watchpoint, e.g. ./plot-displacements.sh solid-calculix." diff --git a/elastic-tube-3d/solid-calculix/clean.sh b/elastic-tube-3d/solid-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/elastic-tube-3d/solid-calculix/clean.sh +++ b/elastic-tube-3d/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-3d/solid-calculix/run.sh b/elastic-tube-3d/solid-calculix/run.sh index 6e8b5a83f..8cb3d2634 100755 --- a/elastic-tube-3d/solid-calculix/run.sh +++ b/elastic-tube-3d/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/elastic-tube-3d/solid-fenics/clean.sh b/elastic-tube-3d/solid-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/elastic-tube-3d/solid-fenics/clean.sh +++ b/elastic-tube-3d/solid-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/elastic-tube-3d/solid-fenics/run.sh b/elastic-tube-3d/solid-fenics/run.sh index 2c9d2da09..b7ad8c261 100755 --- a/elastic-tube-3d/solid-fenics/run.sh +++ b/elastic-tube-3d/solid-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u python3 solid.py diff --git a/flow-around-controlled-moving-cylinder/clean-tutorial.sh b/flow-around-controlled-moving-cylinder/clean-tutorial.sh index 7cc460c25..a9cbc8fcb 100755 --- a/flow-around-controlled-moving-cylinder/clean-tutorial.sh +++ b/flow-around-controlled-moving-cylinder/clean-tutorial.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # shellcheck disable=SC1091 diff --git a/flow-around-controlled-moving-cylinder/controller-fmi/clean.sh b/flow-around-controlled-moving-cylinder/controller-fmi/clean.sh index d4e26a453..932e33b85 100755 --- a/flow-around-controlled-moving-cylinder/controller-fmi/clean.sh +++ b/flow-around-controlled-moving-cylinder/controller-fmi/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-around-controlled-moving-cylinder/controller-fmi/run.sh b/flow-around-controlled-moving-cylinder/controller-fmi/run.sh index 46a4f217d..89f069452 100755 --- a/flow-around-controlled-moving-cylinder/controller-fmi/run.sh +++ b/flow-around-controlled-moving-cylinder/controller-fmi/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-around-controlled-moving-cylinder/fluid-openfoam/clean.sh b/flow-around-controlled-moving-cylinder/fluid-openfoam/clean.sh index 59919cb21..3cdd23300 100755 --- a/flow-around-controlled-moving-cylinder/fluid-openfoam/clean.sh +++ b/flow-around-controlled-moving-cylinder/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-around-controlled-moving-cylinder/fluid-openfoam/run.sh b/flow-around-controlled-moving-cylinder/fluid-openfoam/run.sh index e2a8415a0..e2fe7f8c6 100755 --- a/flow-around-controlled-moving-cylinder/fluid-openfoam/run.sh +++ b/flow-around-controlled-moving-cylinder/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-around-controlled-moving-cylinder/plot-watchpoint.sh b/flow-around-controlled-moving-cylinder/plot-watchpoint.sh index 396654c7c..2cf926d49 100755 --- a/flow-around-controlled-moving-cylinder/plot-watchpoint.sh +++ b/flow-around-controlled-moving-cylinder/plot-watchpoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh if [ "${1:-}" = "" ]; then echo "No target directory specified. Please specify the directory of the Solid participant containing the watchpoint, e.g. ./plot-watchpoint.sh solid-python." diff --git a/flow-around-controlled-moving-cylinder/solid-python/clean.sh b/flow-around-controlled-moving-cylinder/solid-python/clean.sh index 9e559af3b..8211cc2a6 100755 --- a/flow-around-controlled-moving-cylinder/solid-python/clean.sh +++ b/flow-around-controlled-moving-cylinder/solid-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh . ../../tools/cleaning-tools.sh diff --git a/flow-around-controlled-moving-cylinder/solid-python/run.sh b/flow-around-controlled-moving-cylinder/solid-python/run.sh index 678a825eb..1f1134faf 100755 --- a/flow-around-controlled-moving-cylinder/solid-python/run.sh +++ b/flow-around-controlled-moving-cylinder/solid-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-nearest-projection/fluid-openfoam/clean.sh b/flow-over-heated-plate-nearest-projection/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-nearest-projection/fluid-openfoam/clean.sh +++ b/flow-over-heated-plate-nearest-projection/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-nearest-projection/fluid-openfoam/run.sh b/flow-over-heated-plate-nearest-projection/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-nearest-projection/fluid-openfoam/run.sh +++ b/flow-over-heated-plate-nearest-projection/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-nearest-projection/solid-openfoam/clean.sh b/flow-over-heated-plate-nearest-projection/solid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-nearest-projection/solid-openfoam/clean.sh +++ b/flow-over-heated-plate-nearest-projection/solid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-nearest-projection/solid-openfoam/run.sh b/flow-over-heated-plate-nearest-projection/solid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-nearest-projection/solid-openfoam/run.sh +++ b/flow-over-heated-plate-nearest-projection/solid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/clean.sh b/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/clean.sh +++ b/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/run.sh b/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/run.sh +++ b/flow-over-heated-plate-partitioned-flow/fluid1-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/clean.sh b/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/clean.sh +++ b/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/run.sh b/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/run.sh +++ b/flow-over-heated-plate-partitioned-flow/fluid2-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-partitioned-flow/solid-openfoam/clean.sh b/flow-over-heated-plate-partitioned-flow/solid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-partitioned-flow/solid-openfoam/clean.sh +++ b/flow-over-heated-plate-partitioned-flow/solid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-partitioned-flow/solid-openfoam/run.sh b/flow-over-heated-plate-partitioned-flow/solid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-partitioned-flow/solid-openfoam/run.sh +++ b/flow-over-heated-plate-partitioned-flow/solid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-steady-state/fluid-openfoam/clean.sh b/flow-over-heated-plate-steady-state/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-steady-state/fluid-openfoam/clean.sh +++ b/flow-over-heated-plate-steady-state/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-steady-state/fluid-openfoam/run.sh b/flow-over-heated-plate-steady-state/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-steady-state/fluid-openfoam/run.sh +++ b/flow-over-heated-plate-steady-state/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-steady-state/solid-codeaster/clean.sh b/flow-over-heated-plate-steady-state/solid-codeaster/clean.sh index c5eddaea2..871a51a63 100755 --- a/flow-over-heated-plate-steady-state/solid-codeaster/clean.sh +++ b/flow-over-heated-plate-steady-state/solid-codeaster/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-steady-state/solid-codeaster/run.sh b/flow-over-heated-plate-steady-state/solid-codeaster/run.sh index e3075712b..ef297e86d 100755 --- a/flow-over-heated-plate-steady-state/solid-codeaster/run.sh +++ b/flow-over-heated-plate-steady-state/solid-codeaster/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh b/flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh +++ b/flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh b/flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh +++ b/flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate-two-meshes/solid-calculix/clean.sh b/flow-over-heated-plate-two-meshes/solid-calculix/clean.sh index e9fdde0e3..b7d019c0e 100755 --- a/flow-over-heated-plate-two-meshes/solid-calculix/clean.sh +++ b/flow-over-heated-plate-two-meshes/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate-two-meshes/solid-calculix/run.sh b/flow-over-heated-plate-two-meshes/solid-calculix/run.sh index 460b914bd..e5ec2567f 100755 --- a/flow-over-heated-plate-two-meshes/solid-calculix/run.sh +++ b/flow-over-heated-plate-two-meshes/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate/fluid-openfoam/clean.sh b/flow-over-heated-plate/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate/fluid-openfoam/clean.sh +++ b/flow-over-heated-plate/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/fluid-openfoam/run.sh b/flow-over-heated-plate/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate/fluid-openfoam/run.sh +++ b/flow-over-heated-plate/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate/fluid-su2/clean.sh b/flow-over-heated-plate/fluid-su2/clean.sh index 54a3623e3..ecab06b44 100755 --- a/flow-over-heated-plate/fluid-su2/clean.sh +++ b/flow-over-heated-plate/fluid-su2/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/fluid-su2/run.sh b/flow-over-heated-plate/fluid-su2/run.sh index 0e85e879a..47b8fa29d 100755 --- a/flow-over-heated-plate/fluid-su2/run.sh +++ b/flow-over-heated-plate/fluid-su2/run.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u SU2_preCICE_CHT.py -f laminar_config_unsteady.cfg -r --parallel \ No newline at end of file diff --git a/flow-over-heated-plate/solid-dunefem/clean.sh b/flow-over-heated-plate/solid-dunefem/clean.sh index eaf41de47..2d972a3d4 100755 --- a/flow-over-heated-plate/solid-dunefem/clean.sh +++ b/flow-over-heated-plate/solid-dunefem/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/solid-dunefem/run.sh b/flow-over-heated-plate/solid-dunefem/run.sh index 125686c9e..5969af992 100755 --- a/flow-over-heated-plate/solid-dunefem/run.sh +++ b/flow-over-heated-plate/solid-dunefem/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate/solid-fenics/clean.sh b/flow-over-heated-plate/solid-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/flow-over-heated-plate/solid-fenics/clean.sh +++ b/flow-over-heated-plate/solid-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/solid-fenics/run.sh b/flow-over-heated-plate/solid-fenics/run.sh index 6d5da4496..f9ced39e7 100755 --- a/flow-over-heated-plate/solid-fenics/run.sh +++ b/flow-over-heated-plate/solid-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate/solid-nutils/clean.sh b/flow-over-heated-plate/solid-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/flow-over-heated-plate/solid-nutils/clean.sh +++ b/flow-over-heated-plate/solid-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/solid-nutils/run.sh b/flow-over-heated-plate/solid-nutils/run.sh index 125686c9e..5969af992 100755 --- a/flow-over-heated-plate/solid-nutils/run.sh +++ b/flow-over-heated-plate/solid-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/flow-over-heated-plate/solid-openfoam/clean.sh b/flow-over-heated-plate/solid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/flow-over-heated-plate/solid-openfoam/clean.sh +++ b/flow-over-heated-plate/solid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/flow-over-heated-plate/solid-openfoam/run.sh b/flow-over-heated-plate/solid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/flow-over-heated-plate/solid-openfoam/run.sh +++ b/flow-over-heated-plate/solid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger-simplified/fluid-bottom-openfoam/clean.sh b/heat-exchanger-simplified/fluid-bottom-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/heat-exchanger-simplified/fluid-bottom-openfoam/clean.sh +++ b/heat-exchanger-simplified/fluid-bottom-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger-simplified/fluid-bottom-openfoam/run.sh b/heat-exchanger-simplified/fluid-bottom-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/heat-exchanger-simplified/fluid-bottom-openfoam/run.sh +++ b/heat-exchanger-simplified/fluid-bottom-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger-simplified/fluid-top-openfoam/clean.sh b/heat-exchanger-simplified/fluid-top-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/heat-exchanger-simplified/fluid-top-openfoam/clean.sh +++ b/heat-exchanger-simplified/fluid-top-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger-simplified/fluid-top-openfoam/run.sh b/heat-exchanger-simplified/fluid-top-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/heat-exchanger-simplified/fluid-top-openfoam/run.sh +++ b/heat-exchanger-simplified/fluid-top-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger-simplified/solid-calculix/clean.sh b/heat-exchanger-simplified/solid-calculix/clean.sh index e9fdde0e3..b7d019c0e 100755 --- a/heat-exchanger-simplified/solid-calculix/clean.sh +++ b/heat-exchanger-simplified/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger-simplified/solid-calculix/run.sh b/heat-exchanger-simplified/solid-calculix/run.sh index 460b914bd..e5ec2567f 100755 --- a/heat-exchanger-simplified/solid-calculix/run.sh +++ b/heat-exchanger-simplified/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger/download-meshes.sh b/heat-exchanger/download-meshes.sh index 00b205be0..02f2a72f7 100755 --- a/heat-exchanger/download-meshes.sh +++ b/heat-exchanger/download-meshes.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh echo "This tutorial is based on a case prepared with SimScale." echo "Since the mesh files are several MB large, we don't store them in the Git repository." diff --git a/heat-exchanger/fluid-inner-openfoam/clean.sh b/heat-exchanger/fluid-inner-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/heat-exchanger/fluid-inner-openfoam/clean.sh +++ b/heat-exchanger/fluid-inner-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger/fluid-inner-openfoam/run.sh b/heat-exchanger/fluid-inner-openfoam/run.sh index 71a1313ae..81b21c057 100755 --- a/heat-exchanger/fluid-inner-openfoam/run.sh +++ b/heat-exchanger/fluid-inner-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger/fluid-outer-openfoam/clean.sh b/heat-exchanger/fluid-outer-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/heat-exchanger/fluid-outer-openfoam/clean.sh +++ b/heat-exchanger/fluid-outer-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger/fluid-outer-openfoam/run.sh b/heat-exchanger/fluid-outer-openfoam/run.sh index 71a1313ae..81b21c057 100755 --- a/heat-exchanger/fluid-outer-openfoam/run.sh +++ b/heat-exchanger/fluid-outer-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/heat-exchanger/solid-calculix/clean.sh b/heat-exchanger/solid-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/heat-exchanger/solid-calculix/clean.sh +++ b/heat-exchanger/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/heat-exchanger/solid-calculix/run.sh b/heat-exchanger/solid-calculix/run.sh index f1f5b3aef..435b15c44 100755 --- a/heat-exchanger/solid-calculix/run.sh +++ b/heat-exchanger/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/multiple-perpendicular-flaps/fluid-openfoam/clean.sh b/multiple-perpendicular-flaps/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/multiple-perpendicular-flaps/fluid-openfoam/clean.sh +++ b/multiple-perpendicular-flaps/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/multiple-perpendicular-flaps/fluid-openfoam/run.sh b/multiple-perpendicular-flaps/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/multiple-perpendicular-flaps/fluid-openfoam/run.sh +++ b/multiple-perpendicular-flaps/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/multiple-perpendicular-flaps/solid-downstream-dealii/clean.sh b/multiple-perpendicular-flaps/solid-downstream-dealii/clean.sh index 9ad81b8fb..4fc364450 100755 --- a/multiple-perpendicular-flaps/solid-downstream-dealii/clean.sh +++ b/multiple-perpendicular-flaps/solid-downstream-dealii/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/multiple-perpendicular-flaps/solid-downstream-dealii/plot-displacement.sh b/multiple-perpendicular-flaps/solid-downstream-dealii/plot-displacement.sh index f68411664..dba352409 100755 --- a/multiple-perpendicular-flaps/solid-downstream-dealii/plot-displacement.sh +++ b/multiple-perpendicular-flaps/solid-downstream-dealii/plot-displacement.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh gnuplot -p << EOF set grid set title 'Displacement of the Flap Tip' diff --git a/multiple-perpendicular-flaps/solid-upstream-dealii/clean.sh b/multiple-perpendicular-flaps/solid-upstream-dealii/clean.sh index 9ad81b8fb..4fc364450 100755 --- a/multiple-perpendicular-flaps/solid-upstream-dealii/clean.sh +++ b/multiple-perpendicular-flaps/solid-upstream-dealii/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/multiple-perpendicular-flaps/solid-upstream-dealii/plot-displacement.sh b/multiple-perpendicular-flaps/solid-upstream-dealii/plot-displacement.sh index 14d54ecc9..5259f00ae 100755 --- a/multiple-perpendicular-flaps/solid-upstream-dealii/plot-displacement.sh +++ b/multiple-perpendicular-flaps/solid-upstream-dealii/plot-displacement.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh gnuplot -p << EOF set grid set title 'Displacement of the Flap Tip' diff --git a/oscillator-overlap/mass-left-python/clean.sh b/oscillator-overlap/mass-left-python/clean.sh index 91d01fde7..d25a78518 100755 --- a/oscillator-overlap/mass-left-python/clean.sh +++ b/oscillator-overlap/mass-left-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator-overlap/mass-left-python/run.sh b/oscillator-overlap/mass-left-python/run.sh index d2e5f9515..a87ccdbe3 100755 --- a/oscillator-overlap/mass-left-python/run.sh +++ b/oscillator-overlap/mass-left-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/oscillator-overlap/mass-right-python/clean.sh b/oscillator-overlap/mass-right-python/clean.sh index 91d01fde7..d25a78518 100755 --- a/oscillator-overlap/mass-right-python/clean.sh +++ b/oscillator-overlap/mass-right-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator-overlap/mass-right-python/run.sh b/oscillator-overlap/mass-right-python/run.sh index 4bd290c63..180c6d508 100755 --- a/oscillator-overlap/mass-right-python/run.sh +++ b/oscillator-overlap/mass-right-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/oscillator/mass-left-fmi/clean.sh b/oscillator/mass-left-fmi/clean.sh index 91d01fde7..d25a78518 100755 --- a/oscillator/mass-left-fmi/clean.sh +++ b/oscillator/mass-left-fmi/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator/mass-left-fmi/run.sh b/oscillator/mass-left-fmi/run.sh index 804b17b24..a49a78d18 100755 --- a/oscillator/mass-left-fmi/run.sh +++ b/oscillator/mass-left-fmi/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/oscillator/mass-left-python/clean.sh b/oscillator/mass-left-python/clean.sh index d4e26a453..932e33b85 100755 --- a/oscillator/mass-left-python/clean.sh +++ b/oscillator/mass-left-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator/mass-left-python/run.sh b/oscillator/mass-left-python/run.sh index d2e5f9515..a87ccdbe3 100755 --- a/oscillator/mass-left-python/run.sh +++ b/oscillator/mass-left-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/oscillator/mass-right-fmi/clean.sh b/oscillator/mass-right-fmi/clean.sh index c7e3552ac..3d9d13df6 100755 --- a/oscillator/mass-right-fmi/clean.sh +++ b/oscillator/mass-right-fmi/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator/mass-right-fmi/run.sh b/oscillator/mass-right-fmi/run.sh index a423d5f69..0d7317f92 100755 --- a/oscillator/mass-right-fmi/run.sh +++ b/oscillator/mass-right-fmi/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/oscillator/mass-right-python/clean.sh b/oscillator/mass-right-python/clean.sh index c7e3552ac..3d9d13df6 100755 --- a/oscillator/mass-right-python/clean.sh +++ b/oscillator/mass-right-python/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/oscillator/mass-right-python/run.sh b/oscillator/mass-right-python/run.sh index 4bd290c63..180c6d508 100755 --- a/oscillator/mass-right-python/run.sh +++ b/oscillator/mass-right-python/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-backwards-facing-step/fluid1-openfoam/clean.sh b/partitioned-backwards-facing-step/fluid1-openfoam/clean.sh index aa660ccc2..3b61b2dc8 100755 --- a/partitioned-backwards-facing-step/fluid1-openfoam/clean.sh +++ b/partitioned-backwards-facing-step/fluid1-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-backwards-facing-step/fluid1-openfoam/run.sh b/partitioned-backwards-facing-step/fluid1-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-backwards-facing-step/fluid1-openfoam/run.sh +++ b/partitioned-backwards-facing-step/fluid1-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-backwards-facing-step/fluid2-openfoam/clean.sh b/partitioned-backwards-facing-step/fluid2-openfoam/clean.sh index aa660ccc2..3b61b2dc8 100755 --- a/partitioned-backwards-facing-step/fluid2-openfoam/clean.sh +++ b/partitioned-backwards-facing-step/fluid2-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-backwards-facing-step/fluid2-openfoam/run.sh b/partitioned-backwards-facing-step/fluid2-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-backwards-facing-step/fluid2-openfoam/run.sh +++ b/partitioned-backwards-facing-step/fluid2-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-elastic-beam/dirichlet-calculix/clean.sh b/partitioned-elastic-beam/dirichlet-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/partitioned-elastic-beam/dirichlet-calculix/clean.sh +++ b/partitioned-elastic-beam/dirichlet-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-elastic-beam/dirichlet-calculix/run.sh b/partitioned-elastic-beam/dirichlet-calculix/run.sh index a7266841a..c06c7a650 100755 --- a/partitioned-elastic-beam/dirichlet-calculix/run.sh +++ b/partitioned-elastic-beam/dirichlet-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-elastic-beam/neumann-calculix/clean.sh b/partitioned-elastic-beam/neumann-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/partitioned-elastic-beam/neumann-calculix/clean.sh +++ b/partitioned-elastic-beam/neumann-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-elastic-beam/neumann-calculix/run.sh b/partitioned-elastic-beam/neumann-calculix/run.sh index b8dfea3d6..5ff09d9ee 100755 --- a/partitioned-elastic-beam/neumann-calculix/run.sh +++ b/partitioned-elastic-beam/neumann-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-complex/dirichlet-fenics/clean.sh b/partitioned-heat-conduction-complex/dirichlet-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction-complex/dirichlet-fenics/clean.sh +++ b/partitioned-heat-conduction-complex/dirichlet-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-complex/dirichlet-fenics/run.sh b/partitioned-heat-conduction-complex/dirichlet-fenics/run.sh index e4c1a798c..0b4e467d3 100755 --- a/partitioned-heat-conduction-complex/dirichlet-fenics/run.sh +++ b/partitioned-heat-conduction-complex/dirichlet-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-complex/neumann-fenics/clean.sh b/partitioned-heat-conduction-complex/neumann-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction-complex/neumann-fenics/clean.sh +++ b/partitioned-heat-conduction-complex/neumann-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-complex/neumann-fenics/run.sh b/partitioned-heat-conduction-complex/neumann-fenics/run.sh index 4f0ae3402..2881e2057 100755 --- a/partitioned-heat-conduction-complex/neumann-fenics/run.sh +++ b/partitioned-heat-conduction-complex/neumann-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-direct/clean-tutorial.sh b/partitioned-heat-conduction-direct/clean-tutorial.sh index 471f8f887..1852efa74 100755 --- a/partitioned-heat-conduction-direct/clean-tutorial.sh +++ b/partitioned-heat-conduction-direct/clean-tutorial.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # shellcheck disable=SC1091 diff --git a/partitioned-heat-conduction-direct/dirichlet-nutils/clean.sh b/partitioned-heat-conduction-direct/dirichlet-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/partitioned-heat-conduction-direct/dirichlet-nutils/clean.sh +++ b/partitioned-heat-conduction-direct/dirichlet-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-direct/dirichlet-nutils/run.sh b/partitioned-heat-conduction-direct/dirichlet-nutils/run.sh index e5743798a..e91550b0e 100755 --- a/partitioned-heat-conduction-direct/dirichlet-nutils/run.sh +++ b/partitioned-heat-conduction-direct/dirichlet-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-direct/neumann-nutils/clean.sh b/partitioned-heat-conduction-direct/neumann-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/partitioned-heat-conduction-direct/neumann-nutils/clean.sh +++ b/partitioned-heat-conduction-direct/neumann-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-direct/neumann-nutils/run.sh b/partitioned-heat-conduction-direct/neumann-nutils/run.sh index 021225a41..01a3ea2c7 100755 --- a/partitioned-heat-conduction-direct/neumann-nutils/run.sh +++ b/partitioned-heat-conduction-direct/neumann-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-overlap/left-fenics/clean.sh b/partitioned-heat-conduction-overlap/left-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction-overlap/left-fenics/clean.sh +++ b/partitioned-heat-conduction-overlap/left-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-overlap/left-fenics/run.sh b/partitioned-heat-conduction-overlap/left-fenics/run.sh index df525cc51..2b186abe1 100755 --- a/partitioned-heat-conduction-overlap/left-fenics/run.sh +++ b/partitioned-heat-conduction-overlap/left-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction-overlap/right-fenics/clean.sh b/partitioned-heat-conduction-overlap/right-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction-overlap/right-fenics/clean.sh +++ b/partitioned-heat-conduction-overlap/right-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction-overlap/right-fenics/run.sh b/partitioned-heat-conduction-overlap/right-fenics/run.sh index ae72b4d1b..d643620a7 100755 --- a/partitioned-heat-conduction-overlap/right-fenics/run.sh +++ b/partitioned-heat-conduction-overlap/right-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/dirichlet-fenics/clean.sh b/partitioned-heat-conduction/dirichlet-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction/dirichlet-fenics/clean.sh +++ b/partitioned-heat-conduction/dirichlet-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/dirichlet-fenics/run.sh b/partitioned-heat-conduction/dirichlet-fenics/run.sh index 874a00a5a..329427860 100755 --- a/partitioned-heat-conduction/dirichlet-fenics/run.sh +++ b/partitioned-heat-conduction/dirichlet-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/dirichlet-nutils/clean.sh b/partitioned-heat-conduction/dirichlet-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/partitioned-heat-conduction/dirichlet-nutils/clean.sh +++ b/partitioned-heat-conduction/dirichlet-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/dirichlet-nutils/run.sh b/partitioned-heat-conduction/dirichlet-nutils/run.sh index e5743798a..e91550b0e 100755 --- a/partitioned-heat-conduction/dirichlet-nutils/run.sh +++ b/partitioned-heat-conduction/dirichlet-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/dirichlet-openfoam/clean.sh b/partitioned-heat-conduction/dirichlet-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-heat-conduction/dirichlet-openfoam/clean.sh +++ b/partitioned-heat-conduction/dirichlet-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/dirichlet-openfoam/run.sh b/partitioned-heat-conduction/dirichlet-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-heat-conduction/dirichlet-openfoam/run.sh +++ b/partitioned-heat-conduction/dirichlet-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/neumann-fenics/clean.sh b/partitioned-heat-conduction/neumann-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/partitioned-heat-conduction/neumann-fenics/clean.sh +++ b/partitioned-heat-conduction/neumann-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/neumann-fenics/run.sh b/partitioned-heat-conduction/neumann-fenics/run.sh index 8c02791c1..b62cd1609 100755 --- a/partitioned-heat-conduction/neumann-fenics/run.sh +++ b/partitioned-heat-conduction/neumann-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/neumann-nutils/clean.sh b/partitioned-heat-conduction/neumann-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/partitioned-heat-conduction/neumann-nutils/clean.sh +++ b/partitioned-heat-conduction/neumann-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/neumann-nutils/run.sh b/partitioned-heat-conduction/neumann-nutils/run.sh index 021225a41..01a3ea2c7 100755 --- a/partitioned-heat-conduction/neumann-nutils/run.sh +++ b/partitioned-heat-conduction/neumann-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/neumann-openfoam/clean.sh b/partitioned-heat-conduction/neumann-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-heat-conduction/neumann-openfoam/clean.sh +++ b/partitioned-heat-conduction/neumann-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-heat-conduction/neumann-openfoam/run.sh b/partitioned-heat-conduction/neumann-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-heat-conduction/neumann-openfoam/run.sh +++ b/partitioned-heat-conduction/neumann-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-heat-conduction/solver-openfoam/clean.sh b/partitioned-heat-conduction/solver-openfoam/clean.sh index 0207cc569..2ca6224c6 100755 --- a/partitioned-heat-conduction/solver-openfoam/clean.sh +++ b/partitioned-heat-conduction/solver-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u wclean diff --git a/partitioned-pipe-two-phase/fluid1-openfoam/clean.sh b/partitioned-pipe-two-phase/fluid1-openfoam/clean.sh index 144bd0dc4..5120c1355 100755 --- a/partitioned-pipe-two-phase/fluid1-openfoam/clean.sh +++ b/partitioned-pipe-two-phase/fluid1-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe-two-phase/fluid1-openfoam/run.sh b/partitioned-pipe-two-phase/fluid1-openfoam/run.sh index 63adb50c4..138b663c7 100755 --- a/partitioned-pipe-two-phase/fluid1-openfoam/run.sh +++ b/partitioned-pipe-two-phase/fluid1-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe-two-phase/fluid2-openfoam/clean.sh b/partitioned-pipe-two-phase/fluid2-openfoam/clean.sh index 144bd0dc4..5120c1355 100755 --- a/partitioned-pipe-two-phase/fluid2-openfoam/clean.sh +++ b/partitioned-pipe-two-phase/fluid2-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe-two-phase/fluid2-openfoam/run.sh b/partitioned-pipe-two-phase/fluid2-openfoam/run.sh index 63adb50c4..138b663c7 100755 --- a/partitioned-pipe-two-phase/fluid2-openfoam/run.sh +++ b/partitioned-pipe-two-phase/fluid2-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe-two-phase/monolithic/clean.sh b/partitioned-pipe-two-phase/monolithic/clean.sh index 144bd0dc4..5120c1355 100755 --- a/partitioned-pipe-two-phase/monolithic/clean.sh +++ b/partitioned-pipe-two-phase/monolithic/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe-two-phase/monolithic/run.sh b/partitioned-pipe-two-phase/monolithic/run.sh index 63adb50c4..138b663c7 100755 --- a/partitioned-pipe-two-phase/monolithic/run.sh +++ b/partitioned-pipe-two-phase/monolithic/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe/fluid1-openfoam-pimplefoam/clean.sh b/partitioned-pipe/fluid1-openfoam-pimplefoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-pipe/fluid1-openfoam-pimplefoam/clean.sh +++ b/partitioned-pipe/fluid1-openfoam-pimplefoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe/fluid1-openfoam-pimplefoam/run.sh b/partitioned-pipe/fluid1-openfoam-pimplefoam/run.sh index 198f58108..47300e069 100755 --- a/partitioned-pipe/fluid1-openfoam-pimplefoam/run.sh +++ b/partitioned-pipe/fluid1-openfoam-pimplefoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/clean.sh b/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/clean.sh +++ b/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/run.sh b/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/run.sh +++ b/partitioned-pipe/fluid1-openfoam-sonicliquidfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe/fluid2-openfoam-pimplefoam/clean.sh b/partitioned-pipe/fluid2-openfoam-pimplefoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-pipe/fluid2-openfoam-pimplefoam/clean.sh +++ b/partitioned-pipe/fluid2-openfoam-pimplefoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe/fluid2-openfoam-pimplefoam/run.sh b/partitioned-pipe/fluid2-openfoam-pimplefoam/run.sh index 198f58108..47300e069 100755 --- a/partitioned-pipe/fluid2-openfoam-pimplefoam/run.sh +++ b/partitioned-pipe/fluid2-openfoam-pimplefoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/clean.sh b/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/clean.sh +++ b/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/run.sh b/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/run.sh +++ b/partitioned-pipe/fluid2-openfoam-sonicliquidfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/fluid-fake/run.sh b/perpendicular-flap/fluid-fake/run.sh index 8d735f1f6..487ea548d 100755 --- a/perpendicular-flap/fluid-fake/run.sh +++ b/perpendicular-flap/fluid-fake/run.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u python3 -m venv .venv diff --git a/perpendicular-flap/fluid-nutils/clean.sh b/perpendicular-flap/fluid-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/perpendicular-flap/fluid-nutils/clean.sh +++ b/perpendicular-flap/fluid-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/fluid-nutils/run.sh b/perpendicular-flap/fluid-nutils/run.sh index 7094b61c8..af8be059a 100755 --- a/perpendicular-flap/fluid-nutils/run.sh +++ b/perpendicular-flap/fluid-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/fluid-openfoam/clean.sh b/perpendicular-flap/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/perpendicular-flap/fluid-openfoam/clean.sh +++ b/perpendicular-flap/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/fluid-openfoam/run.sh b/perpendicular-flap/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/perpendicular-flap/fluid-openfoam/run.sh +++ b/perpendicular-flap/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/fluid-su2/clean.sh b/perpendicular-flap/fluid-su2/clean.sh index 54a3623e3..ecab06b44 100755 --- a/perpendicular-flap/fluid-su2/clean.sh +++ b/perpendicular-flap/fluid-su2/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/fluid-su2/run.sh b/perpendicular-flap/fluid-su2/run.sh index 2272c4efd..f83743fa2 100755 --- a/perpendicular-flap/fluid-su2/run.sh +++ b/perpendicular-flap/fluid-su2/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/plot-all-displacements.sh b/perpendicular-flap/plot-all-displacements.sh index 5b9b2f1bd..676917163 100755 --- a/perpendicular-flap/plot-all-displacements.sh +++ b/perpendicular-flap/plot-all-displacements.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # This script cannot be used as-is and is meant to generate the picture # images/tutorials-perpendicular-flap-displacement-all-watchpoints.png diff --git a/perpendicular-flap/plot-displacement.sh b/perpendicular-flap/plot-displacement.sh index 0a81ccd59..45bfa597f 100755 --- a/perpendicular-flap/plot-displacement.sh +++ b/perpendicular-flap/plot-displacement.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh if [ "${1:-}" = "" ]; then echo "No target directory specified. Please specify the directory of the solid participant containing the watchpoint, e.g. ./plot-displacement.sh solid-fenics." diff --git a/perpendicular-flap/solid-calculix/clean.sh b/perpendicular-flap/solid-calculix/clean.sh index e93f04f3c..32856eac1 100755 --- a/perpendicular-flap/solid-calculix/clean.sh +++ b/perpendicular-flap/solid-calculix/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-calculix/run.sh b/perpendicular-flap/solid-calculix/run.sh index 1954b6584..d383712c5 100755 --- a/perpendicular-flap/solid-calculix/run.sh +++ b/perpendicular-flap/solid-calculix/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/solid-dealii/clean.sh b/perpendicular-flap/solid-dealii/clean.sh index 9ad81b8fb..4fc364450 100755 --- a/perpendicular-flap/solid-dealii/clean.sh +++ b/perpendicular-flap/solid-dealii/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-dune/clean.sh b/perpendicular-flap/solid-dune/clean.sh index eaf41de47..2d972a3d4 100755 --- a/perpendicular-flap/solid-dune/clean.sh +++ b/perpendicular-flap/solid-dune/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-dune/run.sh b/perpendicular-flap/solid-dune/run.sh index 7cf8e187a..09989941d 100755 --- a/perpendicular-flap/solid-dune/run.sh +++ b/perpendicular-flap/solid-dune/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/solid-fenics/clean.sh b/perpendicular-flap/solid-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/perpendicular-flap/solid-fenics/clean.sh +++ b/perpendicular-flap/solid-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-fenics/run.sh b/perpendicular-flap/solid-fenics/run.sh index 6d5da4496..f9ced39e7 100755 --- a/perpendicular-flap/solid-fenics/run.sh +++ b/perpendicular-flap/solid-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/solid-nutils/clean.sh b/perpendicular-flap/solid-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/perpendicular-flap/solid-nutils/clean.sh +++ b/perpendicular-flap/solid-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-nutils/run.sh b/perpendicular-flap/solid-nutils/run.sh index 43cc739cd..194d44ce5 100755 --- a/perpendicular-flap/solid-nutils/run.sh +++ b/perpendicular-flap/solid-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/perpendicular-flap/solid-openfoam/clean.sh b/perpendicular-flap/solid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/perpendicular-flap/solid-openfoam/clean.sh +++ b/perpendicular-flap/solid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-openfoam/run.sh b/perpendicular-flap/solid-openfoam/run.sh index 7996753e3..928c83a3e 100755 --- a/perpendicular-flap/solid-openfoam/run.sh +++ b/perpendicular-flap/solid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh . ../../tools/log.sh exec > >(tee --append "$LOGFILE") 2>&1 diff --git a/perpendicular-flap/solid-solids4foam/clean.sh b/perpendicular-flap/solid-solids4foam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/perpendicular-flap/solid-solids4foam/clean.sh +++ b/perpendicular-flap/solid-solids4foam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/perpendicular-flap/solid-solids4foam/run.sh b/perpendicular-flap/solid-solids4foam/run.sh index 4f2b797ab..0d02b7b6d 100755 --- a/perpendicular-flap/solid-solids4foam/run.sh +++ b/perpendicular-flap/solid-solids4foam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh . ../../tools/log.sh exec > >(tee --append "$LOGFILE") 2>&1 diff --git a/quickstart/fluid-openfoam/clean.sh b/quickstart/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/quickstart/fluid-openfoam/clean.sh +++ b/quickstart/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/quickstart/fluid-openfoam/run.sh b/quickstart/fluid-openfoam/run.sh index 40cd648cf..e1411fd51 100755 --- a/quickstart/fluid-openfoam/run.sh +++ b/quickstart/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/quickstart/solid-cpp/clean.sh b/quickstart/solid-cpp/clean.sh index 4c864fb36..494c80414 100755 --- a/quickstart/solid-cpp/clean.sh +++ b/quickstart/solid-cpp/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/quickstart/solid-cpp/run.sh b/quickstart/solid-cpp/run.sh index c764a8f73..9ae8361d8 100755 --- a/quickstart/solid-cpp/run.sh +++ b/quickstart/solid-cpp/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/tools/check-links-to-precice.sh b/tools/check-links-to-precice.sh index 951adc5ce..489ca7357 100755 --- a/tools/check-links-to-precice.sh +++ b/tools/check-links-to-precice.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env sh sed -i "s/http:\/\/precice.org/https:\/\/precice.org/g" "$@" diff --git a/tools/check-size.sh b/tools/check-size.sh index 340794a9f..42ad500b2 100755 --- a/tools/check-size.sh +++ b/tools/check-size.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh # Run this script at the root of the repository to check the size of images CODE=0 diff --git a/tools/check.sh b/tools/check.sh index 03379c008..d65bc5f50 100755 --- a/tools/check.sh +++ b/tools/check.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh # Run this script at the root of the repository to check images and permalinks CODE=0 diff --git a/tools/clean-tutorial-base.sh b/tools/clean-tutorial-base.sh index 88f60e8c6..5dbb6c639 100755 --- a/tools/clean-tutorial-base.sh +++ b/tools/clean-tutorial-base.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # shellcheck disable=SC1091 diff --git a/tools/cleaning-tools.sh b/tools/cleaning-tools.sh index 7ece48288..12c04f239 100755 --- a/tools/cleaning-tools.sh +++ b/tools/cleaning-tools.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh error() { echo "Error: $1" >&2 diff --git a/tools/log.sh b/tools/log.sh index 76cd533d1..d3708efef 100644 --- a/tools/log.sh +++ b/tools/log.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u CASENAME="$(pwd | xargs basename)" diff --git a/tools/run-dealii.sh b/tools/run-dealii.sh index 64148aa6f..6425b6411 100755 --- a/tools/run-dealii.sh +++ b/tools/run-dealii.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u EXE="" diff --git a/tools/run-openfoam.sh b/tools/run-openfoam.sh index e3bf2c920..b95747b33 100755 --- a/tools/run-openfoam.sh +++ b/tools/run-openfoam.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e # Not setting -u as it gets triggered by the OpenFOAM RunFunctions # Prepare an (intentionally empty) .foam file for the ParaView OpenFOAM reader diff --git a/tools/visualize-configs.sh b/tools/visualize-configs.sh index 145e2042c..8417be3de 100755 --- a/tools/visualize-configs.sh +++ b/tools/visualize-configs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh # Run this script at the root of the repository to generate PNG files from each precice-config.xml set -e -u diff --git a/turek-hron-fsi3/fluid-openfoam/clean.sh b/turek-hron-fsi3/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/turek-hron-fsi3/fluid-openfoam/clean.sh +++ b/turek-hron-fsi3/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/turek-hron-fsi3/fluid-openfoam/run.sh b/turek-hron-fsi3/fluid-openfoam/run.sh index da82a9ba2..71de7d842 100755 --- a/turek-hron-fsi3/fluid-openfoam/run.sh +++ b/turek-hron-fsi3/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/turek-hron-fsi3/plot-displacement.sh b/turek-hron-fsi3/plot-displacement.sh index 3a48e606c..141f54ec5 100755 --- a/turek-hron-fsi3/plot-displacement.sh +++ b/turek-hron-fsi3/plot-displacement.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh gnuplot -p << EOF set grid set title 'y-displacement of the flap tip' diff --git a/turek-hron-fsi3/solid-dealii/clean.sh b/turek-hron-fsi3/solid-dealii/clean.sh index 9ad81b8fb..4fc364450 100755 --- a/turek-hron-fsi3/solid-dealii/clean.sh +++ b/turek-hron-fsi3/solid-dealii/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/two-scale-heat-conduction/compile-dumux-cases.sh b/two-scale-heat-conduction/compile-dumux-cases.sh index 82b796be5..d9f1bd20a 100755 --- a/two-scale-heat-conduction/compile-dumux-cases.sh +++ b/two-scale-heat-conduction/compile-dumux-cases.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u cd macro-dumux/build-cmake/appl diff --git a/two-scale-heat-conduction/macro-dumux/clean.sh b/two-scale-heat-conduction/macro-dumux/clean.sh index db81de5db..3e9fd4e51 100755 --- a/two-scale-heat-conduction/macro-dumux/clean.sh +++ b/two-scale-heat-conduction/macro-dumux/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/two-scale-heat-conduction/macro-dumux/run.sh b/two-scale-heat-conduction/macro-dumux/run.sh index e3edc5451..00d9b1f85 100755 --- a/two-scale-heat-conduction/macro-dumux/run.sh +++ b/two-scale-heat-conduction/macro-dumux/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/two-scale-heat-conduction/macro-nutils/clean.sh b/two-scale-heat-conduction/macro-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/two-scale-heat-conduction/macro-nutils/clean.sh +++ b/two-scale-heat-conduction/macro-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/two-scale-heat-conduction/macro-nutils/run.sh b/two-scale-heat-conduction/macro-nutils/run.sh index 5ae6ac050..1ac899238 100755 --- a/two-scale-heat-conduction/macro-nutils/run.sh +++ b/two-scale-heat-conduction/macro-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/two-scale-heat-conduction/micro-dumux/clean.sh b/two-scale-heat-conduction/micro-dumux/clean.sh index db81de5db..3e9fd4e51 100755 --- a/two-scale-heat-conduction/micro-dumux/clean.sh +++ b/two-scale-heat-conduction/micro-dumux/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/two-scale-heat-conduction/micro-dumux/run.sh b/two-scale-heat-conduction/micro-dumux/run.sh index 7ce4c9a0b..a6ab26881 100755 --- a/two-scale-heat-conduction/micro-dumux/run.sh +++ b/two-scale-heat-conduction/micro-dumux/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/two-scale-heat-conduction/micro-nutils/clean.sh b/two-scale-heat-conduction/micro-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/two-scale-heat-conduction/micro-nutils/clean.sh +++ b/two-scale-heat-conduction/micro-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/two-scale-heat-conduction/micro-nutils/run.sh b/two-scale-heat-conduction/micro-nutils/run.sh index f51583362..ed7c18a50 100755 --- a/two-scale-heat-conduction/micro-nutils/run.sh +++ b/two-scale-heat-conduction/micro-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/two-scale-heat-conduction/setup-dumux.sh b/two-scale-heat-conduction/setup-dumux.sh index 675ff45ce..bea25a74c 100755 --- a/two-scale-heat-conduction/setup-dumux.sh +++ b/two-scale-heat-conduction/setup-dumux.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u # This script sets up a DUNE environment in the working directory to solve the two-scale-heat-conduction problem with DuMuX on one or both scales diff --git a/volume-coupled-diffusion/drain-fenics/clean.sh b/volume-coupled-diffusion/drain-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/volume-coupled-diffusion/drain-fenics/clean.sh +++ b/volume-coupled-diffusion/drain-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/volume-coupled-diffusion/drain-fenics/run.sh b/volume-coupled-diffusion/drain-fenics/run.sh index 48f2832ad..847ac09fe 100755 --- a/volume-coupled-diffusion/drain-fenics/run.sh +++ b/volume-coupled-diffusion/drain-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/volume-coupled-diffusion/source-fenics/clean.sh b/volume-coupled-diffusion/source-fenics/clean.sh index 3a8b4619d..d3f3318b4 100755 --- a/volume-coupled-diffusion/source-fenics/clean.sh +++ b/volume-coupled-diffusion/source-fenics/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/volume-coupled-diffusion/source-fenics/run.sh b/volume-coupled-diffusion/source-fenics/run.sh index 4dbf42539..bb37d338b 100755 --- a/volume-coupled-diffusion/source-fenics/run.sh +++ b/volume-coupled-diffusion/source-fenics/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/volume-coupled-flow/fluid-openfoam/clean.sh b/volume-coupled-flow/fluid-openfoam/clean.sh index c31d9fc76..b64fc5101 100755 --- a/volume-coupled-flow/fluid-openfoam/clean.sh +++ b/volume-coupled-flow/fluid-openfoam/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/volume-coupled-flow/fluid-openfoam/run.sh b/volume-coupled-flow/fluid-openfoam/run.sh index 75b56f415..1d10fd819 100755 --- a/volume-coupled-flow/fluid-openfoam/run.sh +++ b/volume-coupled-flow/fluid-openfoam/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh diff --git a/volume-coupled-flow/source-nutils/clean.sh b/volume-coupled-flow/source-nutils/clean.sh index 6893c1ea5..0d1c2d23d 100755 --- a/volume-coupled-flow/source-nutils/clean.sh +++ b/volume-coupled-flow/source-nutils/clean.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh set -e -u . ../../tools/cleaning-tools.sh diff --git a/volume-coupled-flow/source-nutils/run.sh b/volume-coupled-flow/source-nutils/run.sh index 716fe373b..9a725b6b1 100755 --- a/volume-coupled-flow/source-nutils/run.sh +++ b/volume-coupled-flow/source-nutils/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh set -e -u . ../../tools/log.sh