Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #789 from stealthybox/shbang
Browse files Browse the repository at this point in the history
Fix #! to use /usr/bin/env for certain scripts
  • Loading branch information
darkowlzz authored Mar 8, 2021
2 parents 9e3eefd + b5214a0 commit a1250ee
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion hack/find-extra-prs-not-in-git.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

PREVIOUS_TAG=${1}
RELEASE_NOTES=${2}
Expand Down
2 changes: 1 addition & 1 deletion hack/find-undocumented-release-prs-from-git.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

PREVIOUS_TAG=${1}
RELEASE_NOTES=${2}
Expand Down
2 changes: 1 addition & 1 deletion hack/gen-release-notes.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

PREVIOUS_TAG=${1}
OPTIONAL_REF=${2}
Expand Down
2 changes: 1 addition & 1 deletion hack/generate-client.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

SCRIPT_DIR=$( dirname "${BASH_SOURCE[0]}" )
cd ${SCRIPT_DIR}/..
Expand Down
2 changes: 1 addition & 1 deletion hack/graph.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SCRIPT_DIR=$( dirname "${BASH_SOURCE[0]}" )
cd ${SCRIPT_DIR}/..

Expand Down
2 changes: 1 addition & 1 deletion hack/imports-stats.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

BINARIES=${@:-"ignite ignited ignite-spawn"}
PRINT=${PRINT:-"false"}
Expand Down
2 changes: 1 addition & 1 deletion hack/ldflags.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Note: This file is heavily inspired by https://github.com/kubernetes/kubernetes/blob/master/hack/lib/version.sh

Expand Down
2 changes: 1 addition & 1 deletion hack/minor-release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

SCRIPT_DIR=$( dirname "${BASH_SOURCE[0]}" )
cd ${SCRIPT_DIR}/..
Expand Down
2 changes: 1 addition & 1 deletion hack/patch-release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

SCRIPT_DIR=$( dirname "${BASH_SOURCE[0]}" )
cd ${SCRIPT_DIR}/..
Expand Down
2 changes: 1 addition & 1 deletion hack/push-manifest-list.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ $# == 0 ]]; then
echo "Usage: $0 [manifest-list] [arch0...n]"
Expand Down
2 changes: 1 addition & 1 deletion hack/release-common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

DOCKER_TTY="${DOCKER_TTY:+"-t"}"

Expand Down
2 changes: 1 addition & 1 deletion images/kernel/patch-config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# The path to where the "patch instructions" are
PATCH_FILE="./config-patches"
Expand Down
2 changes: 1 addition & 1 deletion images/kernel/upgrade-config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

KERNEL_BUILDER_IMAGE=weaveworks/ignite-kernel-builder:dev
LINUX_REPO_URL=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Expand Down
2 changes: 1 addition & 1 deletion images/kubeadm/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -x

Expand Down
2 changes: 1 addition & 1 deletion images/kubeadm/prepare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Set up the seed node with the specified config file
IMAGE=${IMAGE:-"weaveworks/ignite-kubeadm"}
Expand Down
2 changes: 1 addition & 1 deletion tools/ignite-flannel.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
# This is a helper script to set up a standalone CNI overlay using Flannel
# for use with Ignite VMs. See docs/networking.md for more information.

Expand Down

0 comments on commit a1250ee

Please sign in to comment.