From ce506f079530ac99a1bf194700fe8c126baf8a20 Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Fri, 9 Feb 2024 12:08:58 +0100 Subject: [PATCH] collection: Fix shebang sanity test Solves issue #641. Signed-off-by: Bernd Finger --- roles/sap_general_preconfigure/tools/beautify-assert-output.sh | 2 +- roles/sap_hana_install/files/tmp/tail-f-hdblcm-install-trc.sh | 2 +- roles/sap_hana_preconfigure/tools/beautify-assert-output.sh | 2 +- roles/sap_install_media_detect/files/tmp/sapfile | 2 +- .../sap_netweaver_preconfigure/tools/beautify-assert-output.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/sap_general_preconfigure/tools/beautify-assert-output.sh b/roles/sap_general_preconfigure/tools/beautify-assert-output.sh index f48087c68..3c7e426a7 100755 --- a/roles/sap_general_preconfigure/tools/beautify-assert-output.sh +++ b/roles/sap_general_preconfigure/tools/beautify-assert-output.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # default font color: Light Cyan, which should be readable on both bright and dark background __FONT_COLOR=36m diff --git a/roles/sap_hana_install/files/tmp/tail-f-hdblcm-install-trc.sh b/roles/sap_hana_install/files/tmp/tail-f-hdblcm-install-trc.sh index eef42909a..b3c248391 100644 --- a/roles/sap_hana_install/files/tmp/tail-f-hdblcm-install-trc.sh +++ b/roles/sap_hana_install/files/tmp/tail-f-hdblcm-install-trc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash while true; do # in case hdblcm has not yet started, we assume that it is waiting for sapdsigner to complete: diff --git a/roles/sap_hana_preconfigure/tools/beautify-assert-output.sh b/roles/sap_hana_preconfigure/tools/beautify-assert-output.sh index f48087c68..3c7e426a7 100755 --- a/roles/sap_hana_preconfigure/tools/beautify-assert-output.sh +++ b/roles/sap_hana_preconfigure/tools/beautify-assert-output.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # default font color: Light Cyan, which should be readable on both bright and dark background __FONT_COLOR=36m diff --git a/roles/sap_install_media_detect/files/tmp/sapfile b/roles/sap_install_media_detect/files/tmp/sapfile index 037480246..49a782ff8 100755 --- a/roles/sap_install_media_detect/files/tmp/sapfile +++ b/roles/sap_install_media_detect/files/tmp/sapfile @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # sapfile: Determine and display SAP file type # # Copyright 2023 Bernd Finger, Red Hat diff --git a/roles/sap_netweaver_preconfigure/tools/beautify-assert-output.sh b/roles/sap_netweaver_preconfigure/tools/beautify-assert-output.sh index f48087c68..3c7e426a7 100755 --- a/roles/sap_netweaver_preconfigure/tools/beautify-assert-output.sh +++ b/roles/sap_netweaver_preconfigure/tools/beautify-assert-output.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # default font color: Light Cyan, which should be readable on both bright and dark background __FONT_COLOR=36m