aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-06-23 13:06:02 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-06-23 14:59:57 -0400
commitb6e6d5eba409ca26934308a171c01210747248d7 (patch)
treeaff092d91ed7b7f47fe396a16da2b7d29b721099 /resources
parent87047e55156f7b9f0bffe4059890799e1a987530 (diff)
downloadlibrebootfr-b6e6d5eba409ca26934308a171c01210747248d7.tar.gz
librebootfr-b6e6d5eba409ca26934308a171c01210747248d7.zip
Replaced '#!/bin/bash' w/ '#!/usr/bin/env bash'
This is mainly useful for being able to run these scripts on BSDs. And for users who use a Bash not installed to /bin.
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/helpers/build/clean/bucts2
-rwxr-xr-xresources/scripts/helpers/build/clean/coreboot2
-rwxr-xr-xresources/scripts/helpers/build/clean/crossgcc2
-rwxr-xr-xresources/scripts/helpers/build/clean/flashrom2
-rwxr-xr-xresources/scripts/helpers/build/clean/grub2
-rwxr-xr-xresources/scripts/helpers/build/clean/i945pwm2
-rwxr-xr-xresources/scripts/helpers/build/clean/ich9deblob2
-rwxr-xr-xresources/scripts/helpers/build/clean/memtest86plus2
-rwxr-xr-xresources/scripts/helpers/build/clean/rom_images2
-rwxr-xr-xresources/scripts/helpers/build/clean/seabios2
-rwxr-xr-xresources/scripts/helpers/build/config/grubmodify2
-rwxr-xr-xresources/scripts/helpers/build/config/grubreplace2
-rwxr-xr-xresources/scripts/helpers/build/config/grubupdate2
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosmodify2
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosrommodify2
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosromreplace2
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosromupdate2
-rwxr-xr-xresources/scripts/helpers/build/config/seabiosupdate2
-rwxr-xr-xresources/scripts/helpers/build/dependencies/parabola2
-rwxr-xr-xresources/scripts/helpers/build/dependencies/trisquel72
-rwxr-xr-xresources/scripts/helpers/build/module/bucts2
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot2
-rwxr-xr-xresources/scripts/helpers/build/module/crossgcc2
-rwxr-xr-xresources/scripts/helpers/build/module/flashrom2
-rwxr-xr-xresources/scripts/helpers/build/module/grub2
-rwxr-xr-xresources/scripts/helpers/build/module/i945pwm2
-rwxr-xr-xresources/scripts/helpers/build/module/ich9deblob2
-rwxr-xr-xresources/scripts/helpers/build/module/memtest86plus2
-rwxr-xr-xresources/scripts/helpers/build/module/seabios2
-rwxr-xr-xresources/scripts/helpers/build/release/roms2
-rwxr-xr-xresources/scripts/helpers/build/release/sha512sums2
-rwxr-xr-xresources/scripts/helpers/build/release/src2
-rwxr-xr-xresources/scripts/helpers/build/release/tobuild2
-rwxr-xr-xresources/scripts/helpers/build/release/util2
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub2
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper2
-rwxr-xr-xresources/scripts/helpers/build/roms/withseabios2
-rwxr-xr-xresources/scripts/helpers/build/roms/withseabios_helper2
-rwxr-xr-xresources/scripts/helpers/download/bucts2
-rwxr-xr-xresources/scripts/helpers/download/coreboot2
-rwxr-xr-xresources/scripts/helpers/download/crossgcc2
-rwxr-xr-xresources/scripts/helpers/download/flashrom2
-rwxr-xr-xresources/scripts/helpers/download/grub2
-rwxr-xr-xresources/scripts/helpers/download/memtest86plus2
-rwxr-xr-xresources/scripts/helpers/download/seabios2
-rw-r--r--resources/scripts/misc/grubeditor.sh2
-rwxr-xr-xresources/scripts/misc/powertop.trisquel72
-rwxr-xr-xresources/utilities/coreboot-libre/deblob2
-rwxr-xr-xresources/utilities/coreboot-libre/findblobs2
-rwxr-xr-xresources/utilities/grub-assemble/gen.sh2
-rwxr-xr-xresources/utilities/macbook21-three-finger-tap/install.sh2
51 files changed, 51 insertions, 51 deletions
diff --git a/resources/scripts/helpers/build/clean/bucts b/resources/scripts/helpers/build/clean/bucts
index f7f7edd5..202b3bad 100755
--- a/resources/scripts/helpers/build/clean/bucts
+++ b/resources/scripts/helpers/build/clean/bucts
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in bucts
#
diff --git a/resources/scripts/helpers/build/clean/coreboot b/resources/scripts/helpers/build/clean/coreboot
index f72e2f1f..b9580f4a 100755
--- a/resources/scripts/helpers/build/clean/coreboot
+++ b/resources/scripts/helpers/build/clean/coreboot
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in coreboot
#
diff --git a/resources/scripts/helpers/build/clean/crossgcc b/resources/scripts/helpers/build/clean/crossgcc
index 78a89349..5e572a04 100755
--- a/resources/scripts/helpers/build/clean/crossgcc
+++ b/resources/scripts/helpers/build/clean/crossgcc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in coreboot
#
diff --git a/resources/scripts/helpers/build/clean/flashrom b/resources/scripts/helpers/build/clean/flashrom
index 241917f0..a8f1fa34 100755
--- a/resources/scripts/helpers/build/clean/flashrom
+++ b/resources/scripts/helpers/build/clean/flashrom
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in flashrom
#
diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub
index fb01d64b..a3d21d46 100755
--- a/resources/scripts/helpers/build/clean/grub
+++ b/resources/scripts/helpers/build/clean/grub
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in GRUB
#
diff --git a/resources/scripts/helpers/build/clean/i945pwm b/resources/scripts/helpers/build/clean/i945pwm
index 91bf6f78..b746d279 100755
--- a/resources/scripts/helpers/build/clean/i945pwm
+++ b/resources/scripts/helpers/build/clean/i945pwm
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in i945pwm
#
diff --git a/resources/scripts/helpers/build/clean/ich9deblob b/resources/scripts/helpers/build/clean/ich9deblob
index d9019fc3..6d3687ac 100755
--- a/resources/scripts/helpers/build/clean/ich9deblob
+++ b/resources/scripts/helpers/build/clean/ich9deblob
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in ich9deblob
#
diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus
index db40be32..271a46ea 100755
--- a/resources/scripts/helpers/build/clean/memtest86plus
+++ b/resources/scripts/helpers/build/clean/memtest86plus
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in memtest86+
#
diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images
index abf352d0..cac69226 100755
--- a/resources/scripts/helpers/build/clean/rom_images
+++ b/resources/scripts/helpers/build/clean/rom_images
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: delete the ROM images
#
diff --git a/resources/scripts/helpers/build/clean/seabios b/resources/scripts/helpers/build/clean/seabios
index 09203ab8..168c7874 100755
--- a/resources/scripts/helpers/build/clean/seabios
+++ b/resources/scripts/helpers/build/clean/seabios
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: clean the dependencies that were built in seabios
#
diff --git a/resources/scripts/helpers/build/config/grubmodify b/resources/scripts/helpers/build/config/grubmodify
index f6075034..606cc1ad 100755
--- a/resources/scripts/helpers/build/config/grubmodify
+++ b/resources/scripts/helpers/build/config/grubmodify
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make menuconfig" on config(s) to modify them
diff --git a/resources/scripts/helpers/build/config/grubreplace b/resources/scripts/helpers/build/config/grubreplace
index ba8d55b8..b3a57ae3 100755
--- a/resources/scripts/helpers/build/config/grubreplace
+++ b/resources/scripts/helpers/build/config/grubreplace
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make menuconfig" on config(s) to replace them
diff --git a/resources/scripts/helpers/build/config/grubupdate b/resources/scripts/helpers/build/config/grubupdate
index e9d9719c..72269213 100755
--- a/resources/scripts/helpers/build/config/grubupdate
+++ b/resources/scripts/helpers/build/config/grubupdate
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make oldconfig" on all coreboot config files
diff --git a/resources/scripts/helpers/build/config/seabiosmodify b/resources/scripts/helpers/build/config/seabiosmodify
index 15f9ca48..72d1cbc0 100755
--- a/resources/scripts/helpers/build/config/seabiosmodify
+++ b/resources/scripts/helpers/build/config/seabiosmodify
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: update the seabios config
diff --git a/resources/scripts/helpers/build/config/seabiosrommodify b/resources/scripts/helpers/build/config/seabiosrommodify
index df58928e..a25ae441 100755
--- a/resources/scripts/helpers/build/config/seabiosrommodify
+++ b/resources/scripts/helpers/build/config/seabiosrommodify
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make menuconfig" on config(s) to modify them
diff --git a/resources/scripts/helpers/build/config/seabiosromreplace b/resources/scripts/helpers/build/config/seabiosromreplace
index 75453553..f172d193 100755
--- a/resources/scripts/helpers/build/config/seabiosromreplace
+++ b/resources/scripts/helpers/build/config/seabiosromreplace
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make menuconfig" on config(s) to replace them
diff --git a/resources/scripts/helpers/build/config/seabiosromupdate b/resources/scripts/helpers/build/config/seabiosromupdate
index 1dc4673e..8e9f29af 100755
--- a/resources/scripts/helpers/build/config/seabiosromupdate
+++ b/resources/scripts/helpers/build/config/seabiosromupdate
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: run "make oldconfig" on all coreboot config files
diff --git a/resources/scripts/helpers/build/config/seabiosupdate b/resources/scripts/helpers/build/config/seabiosupdate
index 17b0204b..be25b55c 100755
--- a/resources/scripts/helpers/build/config/seabiosupdate
+++ b/resources/scripts/helpers/build/config/seabiosupdate
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: update the seabios config
diff --git a/resources/scripts/helpers/build/dependencies/parabola b/resources/scripts/helpers/build/dependencies/parabola
index 44052418..86f1f341 100755
--- a/resources/scripts/helpers/build/dependencies/parabola
+++ b/resources/scripts/helpers/build/dependencies/parabola
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: installs build dependencies for Parabola
diff --git a/resources/scripts/helpers/build/dependencies/trisquel7 b/resources/scripts/helpers/build/dependencies/trisquel7
index 2e47371c..10142758 100755
--- a/resources/scripts/helpers/build/dependencies/trisquel7
+++ b/resources/scripts/helpers/build/dependencies/trisquel7
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# for_trisquel7 script: installs build dependencies for Trisquel 7
#
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts
index 152c3e30..108a6eca 100755
--- a/resources/scripts/helpers/build/module/bucts
+++ b/resources/scripts/helpers/build/module/bucts
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds bucts source code
#
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index f934f003..e87642df 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds the dependencies that coreboot needs before building a ROM image
#
diff --git a/resources/scripts/helpers/build/module/crossgcc b/resources/scripts/helpers/build/module/crossgcc
index a88427fe..0631758b 100755
--- a/resources/scripts/helpers/build/module/crossgcc
+++ b/resources/scripts/helpers/build/module/crossgcc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds crossgcc, needed by coreboot's build system
#
diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom
index 7ed79fcd..4e887a8d 100755
--- a/resources/scripts/helpers/build/module/flashrom
+++ b/resources/scripts/helpers/build/module/flashrom
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds flashrom source code
#
diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub
index f6c1657b..e036b148 100755
--- a/resources/scripts/helpers/build/module/grub
+++ b/resources/scripts/helpers/build/module/grub
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds GRUB2 source code
#
diff --git a/resources/scripts/helpers/build/module/i945pwm b/resources/scripts/helpers/build/module/i945pwm
index 730d8e69..55e6f8e0 100755
--- a/resources/scripts/helpers/build/module/i945pwm
+++ b/resources/scripts/helpers/build/module/i945pwm
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds i945-pwm source code
#
diff --git a/resources/scripts/helpers/build/module/ich9deblob b/resources/scripts/helpers/build/module/ich9deblob
index 255e22bc..963d7a0d 100755
--- a/resources/scripts/helpers/build/module/ich9deblob
+++ b/resources/scripts/helpers/build/module/ich9deblob
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds ich9deblob source code
#
diff --git a/resources/scripts/helpers/build/module/memtest86plus b/resources/scripts/helpers/build/module/memtest86plus
index db664457..08c36c50 100755
--- a/resources/scripts/helpers/build/module/memtest86plus
+++ b/resources/scripts/helpers/build/module/memtest86plus
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds memtest86+ source code
#
diff --git a/resources/scripts/helpers/build/module/seabios b/resources/scripts/helpers/build/module/seabios
index 2dd436c2..46c1594c 100755
--- a/resources/scripts/helpers/build/module/seabios
+++ b/resources/scripts/helpers/build/module/seabios
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: builds SeaBIOS source code
#
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index 4c165ea0..b3cd4977 100755
--- a/resources/scripts/helpers/build/release/roms
+++ b/resources/scripts/helpers/build/release/roms
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: generate the ROM image release archives
diff --git a/resources/scripts/helpers/build/release/sha512sums b/resources/scripts/helpers/build/release/sha512sums
index 11967acb..78e9eec1 100755
--- a/resources/scripts/helpers/build/release/sha512sums
+++ b/resources/scripts/helpers/build/release/sha512sums
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: create sha512sum file for the current snapshot
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src
index 69279070..89cd1e2c 100755
--- a/resources/scripts/helpers/build/release/src
+++ b/resources/scripts/helpers/build/release/src
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: generate the source release archive
diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild
index bdf6ca77..459ab6fe 100755
--- a/resources/scripts/helpers/build/release/tobuild
+++ b/resources/scripts/helpers/build/release/tobuild
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper: prepare a small source archive for those utils
# that don't easily cross-compile. Then the tarball can be extracted
diff --git a/resources/scripts/helpers/build/release/util b/resources/scripts/helpers/build/release/util
index 62c5dfaa..a3224504 100755
--- a/resources/scripts/helpers/build/release/util
+++ b/resources/scripts/helpers/build/release/util
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: generate the release archives
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 28f35736..4b812bfe 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: build ROM images with SeaGRUB and put them in ./bin/
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index 26d69f0b..49294451 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: create ROM images for a given system, with SeaGRUB
#
diff --git a/resources/scripts/helpers/build/roms/withseabios b/resources/scripts/helpers/build/roms/withseabios
index e43c642f..71f0c448 100755
--- a/resources/scripts/helpers/build/roms/withseabios
+++ b/resources/scripts/helpers/build/roms/withseabios
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# helper script: build ROM images with SeaBIOS and put them in ./bin/seabios/
diff --git a/resources/scripts/helpers/build/roms/withseabios_helper b/resources/scripts/helpers/build/roms/withseabios_helper
index 61d36d99..caceddd0 100755
--- a/resources/scripts/helpers/build/roms/withseabios_helper
+++ b/resources/scripts/helpers/build/roms/withseabios_helper
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: create ROM images for a given system, with SeaBIOS
#
diff --git a/resources/scripts/helpers/download/bucts b/resources/scripts/helpers/download/bucts
index e516ade8..7bea3e65 100755
--- a/resources/scripts/helpers/download/bucts
+++ b/resources/scripts/helpers/download/bucts
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: downloads bucts and patches it
#
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot
index daa3b649..8b8fa510 100755
--- a/resources/scripts/helpers/download/coreboot
+++ b/resources/scripts/helpers/download/coreboot
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: downloads coreboot and patches/deblobs it
#
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc
index 68cd6414..311ded2d 100755
--- a/resources/scripts/helpers/download/crossgcc
+++ b/resources/scripts/helpers/download/crossgcc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: downloads crossgcc, for building coreboot
#
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index a706e9ee..8d06dde0 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: downloads flashrom and patches it
#
diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub
index 1847de9a..c0a298cb 100755
--- a/resources/scripts/helpers/download/grub
+++ b/resources/scripts/helpers/download/grub
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: Downloads GRUB and patches it.
#
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus
index 920d16fd..f96af2b1 100755
--- a/resources/scripts/helpers/download/memtest86plus
+++ b/resources/scripts/helpers/download/memtest86plus
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# helper script: Downloads MemTest86+ and patches it
#
diff --git a/resources/scripts/helpers/download/seabios b/resources/scripts/helpers/download/seabios
index 18f90dd6..75299f2d 100755
--- a/resources/scripts/helpers/download/seabios
+++ b/resources/scripts/helpers/download/seabios
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Copyright (C) 2015, 2016 Leah Rowe <info@minifree.org>
#
diff --git a/resources/scripts/misc/grubeditor.sh b/resources/scripts/misc/grubeditor.sh
index 84284645..9b26a5e0 100644
--- a/resources/scripts/misc/grubeditor.sh
+++ b/resources/scripts/misc/grubeditor.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# grubeditor.sh -- conveniently edit grub{test}.cfg files by automating their
# extraction with cbfstool and the user's editor of choice.
diff --git a/resources/scripts/misc/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7
index 1e29f38a..cfce8f77 100755
--- a/resources/scripts/misc/powertop.trisquel7
+++ b/resources/scripts/misc/powertop.trisquel7
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# powertop.trisquel7: automatically sets up powertop --auto-tune on startup in trisquel 7
#
diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob
index 3d0daa7a..1ca32531 100755
--- a/resources/utilities/coreboot-libre/deblob
+++ b/resources/utilities/coreboot-libre/deblob
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# DEBLOB script: deblobs the version of coreboot used for this release.
#
diff --git a/resources/utilities/coreboot-libre/findblobs b/resources/utilities/coreboot-libre/findblobs
index 2e80a7bc..7ea42a98 100755
--- a/resources/utilities/coreboot-libre/findblobs
+++ b/resources/utilities/coreboot-libre/findblobs
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# find blobs in coreboot
#
diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh
index 049b44b6..dc5b81fc 100755
--- a/resources/utilities/grub-assemble/gen.sh
+++ b/resources/utilities/grub-assemble/gen.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# grub-assemble gen.sh: generate GRUB ELF files (coreboot payloads)
#
diff --git a/resources/utilities/macbook21-three-finger-tap/install.sh b/resources/utilities/macbook21-three-finger-tap/install.sh
index a49aad06..0d0a97de 100755
--- a/resources/utilities/macbook21-three-finger-tap/install.sh
+++ b/resources/utilities/macbook21-three-finger-tap/install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Three-finger tap: Enable three-finger tap for "middle click" in GNOME.
# Copyright (C) 2015 Albin Söderqvist and Eemeli Blåsten