From e2ca265b865b1e27c599441cf374605eb9ba4882 Mon Sep 17 00:00:00 2001 From: Steve Witten Date: Mon, 9 Sep 2024 14:30:10 -0700 Subject: [PATCH] Backout '-S' option for /usr/bin/env on '#!' line --- .github/workflows/test.sh | 2 +- lib/cli.bash | 2 +- tools/autossh.sh | 2 +- tools/check_for_upgrade.sh | 2 +- tools/install.sh | 2 +- tools/update-wiki-themes.sh | 2 +- tools/upgrade.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.sh b/.github/workflows/test.sh index 690336a0e..5e28130a6 100644 --- a/.github/workflows/test.sh +++ b/.github/workflows/test.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash set -e diff --git a/lib/cli.bash b/lib/cli.bash index 2d7022c7b..ed5bcd091 100644 --- a/lib/cli.bash +++ b/lib/cli.bash @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash _omb_module_require lib:utils diff --git a/tools/autossh.sh b/tools/autossh.sh index e34d12e40..a14249cd3 100644 --- a/tools/autossh.sh +++ b/tools/autossh.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash # ------------------------------------------------------------------------------ # FILE: autossh # DESCRIPTION: This is an SSH-D proxy with auto-reconnect on disconnect diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index eedd6fc99..b1480ba58 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash function _omb_upgrade_current_epoch { local sec=${EPOCHSECONDS-} diff --git a/tools/install.sh b/tools/install.sh index 23858f306..592f01720 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash # Checks the minium version of bash (v3.2) installed, # stops the installation if check fails diff --git a/tools/update-wiki-themes.sh b/tools/update-wiki-themes.sh index f808a0c56..bddd292d3 100755 --- a/tools/update-wiki-themes.sh +++ b/tools/update-wiki-themes.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash # this script aims to simplify the process of updating the theme examples page # in the GitHub Wiki. diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 9ffec2679..a9c31ecb8 100644 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash +#!/usr/bin/env bash function _omb_upgrade { # Use colors, but only if connected to a terminal, and that terminal