Use env to find bash in shebang (#225)

This commit is contained in:
Paul Meyer 2022-10-10 14:21:17 +02:00 committed by GitHub
parent f0a9e58b17
commit 1c29638421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
printf "Fetching logs of instances in resource group %s\n" $1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Usage: ./gcp-logs.sh <control-instance-group-name> <worker-instance-group-name> <zone>

View File

@ -106,7 +106,7 @@ In order to download an image you will have to export it to a bucket you have ac
To download an image from Azure you will have to create a disk from the image and generate a download link for that disk:
```bash
#!/bin/bash
#!/usr/bin/env bash
VERSION=0.0.1
TARGET_DISK=export-${VERSION}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
CALLDIR=$(pwd)
CILIUMTMPDIR=$(mktemp -d)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Assign qemu the GID of the host system's 'kvm' group to avoid permission issues for environments defaulting to 660 for /dev/kvm (e.g. Debian-based distros)
KVM_HOST_GID="$(stat -c '%g' /dev/kvm)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
set -o pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Compare licenses of Go dependencies against a whitelist.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# importAzure imports a downloaded Azure VM image into Azure cloud.
# Parameters are provided via environment variables.