do not hardcode /bin/bash (#1122)

Co-authored-by: Victor Büttner <victor@0x23.dk>
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
pull/1128/head
vdot0x23 2020-06-18 07:49:13 +00:00 committed by GitHub
parent 9a4f3cf76b
commit 6ccc92e47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -u
DIVERGED=$(git merge-base --fork-point origin/master > /dev/null; echo $?)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -u
DIVERGED=$(git merge-base --fork-point origin/master > /dev/null; echo $?)

View File

@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
GITTAG=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
for AUR_PACKAGE in authelia authelia-bin authelia-git; do

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
declare -A BUILDS=(["linux"]="amd64 arm32v7 arm64v8 coverage")

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
for BUILD_ARCH in amd64 arm32v7 arm64v8; do

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
for SUITE_NAME in $(authelia-scripts suites list); do

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
artifacts=()

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PATH=$PATH:./cmd/authelia-scripts/:./.buildkite/steps/:$GOPATH/bin:./web/node_modules/.bin:/tmp

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
go run cmd/authelia-scripts/*.go $*

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
username(){
read -ep "Enter your username for Authelia: " USERNAME

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Retries a command on failure.
# $1 - the max number of attempts

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
start_dashboard() {
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml