Skip to content

Commit

Permalink
Fix shebangs to #!/usr/bin/env sh in all .sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
cheriimoya committed May 10, 2024
1 parent 42ecfdd commit 96bfbd5
Show file tree
Hide file tree
Showing 214 changed files with 214 additions and 214 deletions.
2 changes: 1 addition & 1 deletion aste-turbine/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion aste-turbine/run.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion breaking-dam-2d/fluid-openfoam/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion breaking-dam-2d/fluid-openfoam/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion breaking-dam-2d/solid-calculix/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion breaking-dam-2d/solid-calculix/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport-reaction/chemical-fenics/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport-reaction/chemical-fenics/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport-reaction/clean-tutorial.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

# shellcheck disable=SC1091
Expand Down
2 changes: 1 addition & 1 deletion channel-transport-reaction/fluid-fenics/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport-reaction/fluid-fenics/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/fluid-nutils/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/fluid-nutils/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/fluid-openfoam/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/fluid-openfoam/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/transport-nutils/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion channel-transport/transport-nutils/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion clean-all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

echo "Cleaning up all tutorials..."
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-cpp/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-cpp/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-python/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-python/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-rust/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/fluid-rust/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/plot-all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

gnuplot -p << EOF
set grid
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/plot-diameter.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-cpp/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-cpp/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-python/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-python/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-rust/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-1d/solid-rust/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/fluid-openfoam/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/fluid-openfoam/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/plot-all-displacements.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

gnuplot -p << EOF
set grid
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/plot-displacements.sh
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/solid-calculix/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/solid-calculix/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/solid-fenics/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/solid-fenics/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

python3 solid.py
2 changes: 1 addition & 1 deletion flow-around-controlled-moving-cylinder/clean-tutorial.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

# shellcheck disable=SC1091
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-around-controlled-moving-cylinder/plot-watchpoint.sh
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

. ../../tools/cleaning-tools.sh

Expand Down
2 changes: 1 addition & 1 deletion flow-around-controlled-moving-cylinder/solid-python/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-steady-state/fluid-openfoam/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-steady-state/solid-codeaster/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-two-meshes/fluid-openfoam/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-two-meshes/fluid-openfoam/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-two-meshes/solid-calculix/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate-two-meshes/solid-calculix/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
set -e -u

. ../../tools/log.sh
Expand Down
Loading

0 comments on commit 96bfbd5

Please sign in to comment.