Skip to content

Commit 51fbc00

Browse files
author
Joshua Anderson
committed
feat(*): replace /bin/bash with /usr/bin/env bash
1 parent 510eb7d commit 51fbc00

35 files changed

Lines changed: 40 additions & 40 deletions

File tree

builder/rootfs/bin/boot

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 designed to be run inside the container
44
#

builder/rootfs/bin/entry

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
set -eo pipefail
33

44
if [[ -f /etc/environment_proxy ]]; then

builder/rootfs/etc/confd/templates/gitreceive

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -eo pipefail
33

44
# Places cursor at start of line, so that subsequent text replaces existing text. For example;
@@ -31,7 +31,7 @@ case "$1" in
3131
PRERECEIVE_HOOK="$REPO_PATH/hooks/pre-receive"
3232
# inject a pre-receive hook
3333
cat > $PRERECEIVE_HOOK <<EOF
34-
#!/bin/bash
34+
#!/usr/bin/env bash
3535
cat | $SELF pre-receive
3636
EOF
3737
chmod +x $PRERECEIVE_HOOK

builder/rootfs/etc/confd/templates/push-images

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
# wait until the docker image exists
44
until docker history deis/slugrunner >/dev/null 2>&1; do

builder/rootfs/etc/confd/templates/receiver

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
set -eo pipefail
33

44
repository=$1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash

builder/rootfs/sbin/auplink

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

builder/rootfs/usr/local/src/slugbuilder/builder/build.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
set -eo pipefail
33

44
if [[ -f /etc/environment_proxy ]]; then

builder/rootfs/usr/local/src/slugrunner/runner/init

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
set -eo pipefail
33

44
if [[ -f /etc/environment_proxy ]]; then

cache/bin/test

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
# Run container-level tests for deis/cache.
44
# This script is designed to be run inside the container.

0 commit comments

Comments
 (0)