mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 16:09:39 -05:00
Use env to find bash in shebang (#225)
This commit is contained in:
parent
f0a9e58b17
commit
1c29638421
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
printf "Fetching logs of instances in resource group %s\n" $1
|
printf "Fetching logs of instances in resource group %s\n" $1
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Usage: ./gcp-logs.sh <control-instance-group-name> <worker-instance-group-name> <zone>
|
# Usage: ./gcp-logs.sh <control-instance-group-name> <worker-instance-group-name> <zone>
|
||||||
|
|
||||||
|
2
.github/docs/development.md
vendored
2
.github/docs/development.md
vendored
@ -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:
|
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
|
```bash
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION=0.0.1
|
VERSION=0.0.1
|
||||||
TARGET_DISK=export-${VERSION}
|
TARGET_DISK=export-${VERSION}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
CALLDIR=$(pwd)
|
CALLDIR=$(pwd)
|
||||||
CILIUMTMPDIR=$(mktemp -d)
|
CILIUMTMPDIR=$(mktemp -d)
|
||||||
|
@ -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)
|
# 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)"
|
KVM_HOST_GID="$(stat -c '%g' /dev/kvm)"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Compare licenses of Go dependencies against a whitelist.
|
# Compare licenses of Go dependencies against a whitelist.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# importAzure imports a downloaded Azure VM image into Azure cloud.
|
# importAzure imports a downloaded Azure VM image into Azure cloud.
|
||||||
# Parameters are provided via environment variables.
|
# Parameters are provided via environment variables.
|
||||||
|
Loading…
Reference in New Issue
Block a user