Skip to content

Commit

Permalink
/bin/bash to /usr/bin/env bash (qmk#13422)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubatyszko authored and nhongooi committed Dec 5, 2021
1 parent 91c239d commit 25c48d8
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion util/chibios_conf_updater.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -eEuo pipefail
umask 022
Expand Down
2 changes: 1 addition & 1 deletion util/generate_internal_docs.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 util/install/arch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install() {
echo "Installing dependencies"
Expand Down
2 changes: 1 addition & 1 deletion util/install/debian.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

DEBIAN_FRONTEND=noninteractive
DEBCONF_NONINTERACTIVE_SEEN=true
Expand Down
2 changes: 1 addition & 1 deletion util/install/fedora.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install() {
echo "Installing dependencies"
Expand Down
2 changes: 1 addition & 1 deletion util/install/freebsd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
sudo pkg update $SKIP_PROMPT
Expand Down
2 changes: 1 addition & 1 deletion util/install/gentoo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
echo "This script will make a USE change in order to ensure that that QMK works on your system."
Expand Down
2 changes: 1 addition & 1 deletion util/install/linux_shared.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# For those distros that do not package bootloadHID
_qmk_install_bootloadhid() {
Expand Down
2 changes: 1 addition & 1 deletion util/install/macos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
echo "Checking Homebrew installation"
Expand Down
2 changes: 1 addition & 1 deletion util/install/msys2.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
pacman -Syu $MSYS2_CONFIRM
Expand Down
2 changes: 1 addition & 1 deletion util/install/slackware.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
echo "Before you continue, please ensure that your user is added to sudoers and that sboinstall is configured."
Expand Down
2 changes: 1 addition & 1 deletion util/install/solus.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install_prepare() {
sudo eopkg -y update-repo
Expand Down
2 changes: 1 addition & 1 deletion util/install/void.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

_qmk_install() {
echo "Installing dependencies"
Expand Down
2 changes: 1 addition & 1 deletion util/new_keyboard.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script generates a new keyboard directory under keyboards/,
# and copies the template files from quantum/template/ into it.
Expand Down
2 changes: 1 addition & 1 deletion util/qmk_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

QMK_FIRMWARE_DIR=$(cd -P -- "$(dirname -- "$0")/.." && pwd -P)
QMK_FIRMWARE_UTIL_DIR=$QMK_FIRMWARE_DIR/util
Expand Down
2 changes: 1 addition & 1 deletion util/rules_cleaner.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script finds all rules.mk files in keyboards/ subdirectories,
# and deletes the build option filesize impacts from them.
Expand Down
2 changes: 1 addition & 1 deletion util/travis_build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

source util/travis_utils.sh

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

source util/travis_utils.sh
source util/travis_push.sh
Expand Down
2 changes: 1 addition & 1 deletion util/travis_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

source util/travis_utils.sh

Expand Down

0 comments on commit 25c48d8

Please sign in to comment.