Skip to content

Commit 3d38093

Browse files
authored
chore(scripts): use bash from path variable in shebang (#3527)
1 parent bf866c5 commit 3d38093

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

scripts/check-sync-tidy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# This script is run in CI to check if sync-tidy produced any changes and it fails if it did
33
set -eo pipefail
44

scripts/lint-golangci-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# This script lints the SDK modules and examples
33
# To skip manually maintained files, pass an extra "true" argument
44
# Pre-requisites: golangci-lint

scripts/project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is used to manage the project, only used for installing the required tools for now
44
# Usage: ./project.sh [action]

scripts/sync-tidy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# This script runs go work sync and go mod tidy for SDK modules and examples
33
set -eo pipefail
44

scripts/test-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# This script tests the SDK modules
33
# To skip manually maintained files, pass an extra "true" argument
44
# Pre-requisites: Go

scripts/update-service-tags.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Immediate exit on failure
44
set -e

0 commit comments

Comments
 (0)