/bin/bash to /usr/bin/env bash (#13422)
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -eEuo pipefail
 | 
					set -eEuo pipefail
 | 
				
			||||||
umask 022
 | 
					umask 022
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -x
 | 
					set -x
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install() {
 | 
					_qmk_install() {
 | 
				
			||||||
    echo "Installing dependencies"
 | 
					    echo "Installing dependencies"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DEBIAN_FRONTEND=noninteractive
 | 
					DEBIAN_FRONTEND=noninteractive
 | 
				
			||||||
DEBCONF_NONINTERACTIVE_SEEN=true
 | 
					DEBCONF_NONINTERACTIVE_SEEN=true
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install() {
 | 
					_qmk_install() {
 | 
				
			||||||
    echo "Installing dependencies"
 | 
					    echo "Installing dependencies"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    sudo pkg update $SKIP_PROMPT
 | 
					    sudo pkg update $SKIP_PROMPT
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    echo "This script will make a USE change in order to ensure that that QMK works on your system."
 | 
					    echo "This script will make a USE change in order to ensure that that QMK works on your system."
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# For those distros that do not package bootloadHID
 | 
					# For those distros that do not package bootloadHID
 | 
				
			||||||
_qmk_install_bootloadhid() {
 | 
					_qmk_install_bootloadhid() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    echo "Checking Homebrew installation"
 | 
					    echo "Checking Homebrew installation"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    pacman -Syu $MSYS2_CONFIRM
 | 
					    pacman -Syu $MSYS2_CONFIRM
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    echo "Before you continue, please ensure that your user is added to sudoers and that sboinstall is configured."
 | 
					    echo "Before you continue, please ensure that your user is added to sudoers and that sboinstall is configured."
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install_prepare() {
 | 
					_qmk_install_prepare() {
 | 
				
			||||||
    sudo eopkg -y update-repo
 | 
					    sudo eopkg -y update-repo
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_qmk_install() {
 | 
					_qmk_install() {
 | 
				
			||||||
    echo "Installing dependencies"
 | 
					    echo "Installing dependencies"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This script generates a new keyboard directory under keyboards/,
 | 
					# This script generates a new keyboard directory under keyboards/,
 | 
				
			||||||
# and copies the template files from quantum/template/ into it.
 | 
					# and copies the template files from quantum/template/ into it.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
QMK_FIRMWARE_DIR=$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)
 | 
					QMK_FIRMWARE_DIR=$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)
 | 
				
			||||||
QMK_FIRMWARE_UTIL_DIR=$QMK_FIRMWARE_DIR/util
 | 
					QMK_FIRMWARE_UTIL_DIR=$QMK_FIRMWARE_DIR/util
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This script finds all rules.mk files in keyboards/ subdirectories,
 | 
					# This script finds all rules.mk files in keyboards/ subdirectories,
 | 
				
			||||||
# and deletes the build option filesize impacts from them.
 | 
					# and deletes the build option filesize impacts from them.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source util/travis_utils.sh
 | 
					source util/travis_utils.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source util/travis_utils.sh
 | 
					source util/travis_utils.sh
 | 
				
			||||||
source util/travis_push.sh
 | 
					source util/travis_push.sh
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source util/travis_utils.sh
 | 
					source util/travis_utils.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user