From 52d718df26e57cfe92d3ad9cf94039d30f05ad72 Mon Sep 17 00:00:00 2001 From: Nikolay Marchuk Date: Tue, 8 Jul 2025 13:57:14 +0700 Subject: [PATCH] Use /usr/bin/env bash instead of /bin/bash in common scripts (#9494) Signed-off-by: Nikolay Marchuk --- common/scripts/fast-format.sh | 2 +- common/scripts/mongo_dump.sh | 2 +- common/scripts/outdated.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/scripts/fast-format.sh b/common/scripts/fast-format.sh index 1de57197e0..bac5179c27 100755 --- a/common/scripts/fast-format.sh +++ b/common/scripts/fast-format.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo $@ BASE_BRANCH=${1:-develop} while [[ "$#" -gt 0 ]]; do diff --git a/common/scripts/mongo_dump.sh b/common/scripts/mongo_dump.sh index 2846c89f18..759f60972f 100755 --- a/common/scripts/mongo_dump.sh +++ b/common/scripts/mongo_dump.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash MONGO_URL="mongodb://127.0.0.1:27017" DAYS=365 dump='dump' diff --git a/common/scripts/outdated.sh b/common/scripts/outdated.sh index 66e5f520bb..e0d22bb269 100755 --- a/common/scripts/outdated.sh +++ b/common/scripts/outdated.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Get the absolute path for the base directory BASE_DIR=$(pwd)