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
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
Fix #! to use /usr/bin/env for certain scripts
stealthybox committed Mar 1, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b5214a06643efb35f1adddebb2788032e58040f4
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}
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}
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}
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}/..
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}/..

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"}
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

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}/..
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}/..
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]"
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"}"

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"
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
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

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"}
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.