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

Fix #! to use /usr/bin/env for certain scripts #789

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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