Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shebangs to #!/usr/bin/env bash in all .sh files #535

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
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 bash
set -e -u

. ../../tools/log.sh
Expand Down
2 changes: 1 addition & 1 deletion flow-over-heated-plate/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
Loading