From b6e6d5eba409ca26934308a171c01210747248d7 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Fri, 23 Jun 2017 13:06:02 -0400 Subject: 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. --- download | 2 +- flash | 2 +- libreboot | 2 +- libs/common | 2 +- libs/git | 2 +- libs/project | 2 +- libs/tool | 2 +- projects/cbfstool/cbfstool | 2 +- projects/cbmem/cbmem | 2 +- projects/coreboot/coreboot | 2 +- projects/coreboot/coreboot-helper | 2 +- projects/cros-ec/cros-ec | 2 +- projects/cros-ec/cros-ec-helper | 2 +- projects/cros-scripts/cros-scripts | 2 +- projects/cros-scripts/install/cros-boot-keys | 2 +- projects/cros-scripts/install/cros-firmware-prepare | 2 +- projects/cros-scripts/install/cros-kernel-install | 2 +- projects/cros-scripts/install/cros-kernel-prepare | 2 +- projects/cros-scripts/install/cros-medium-setup | 2 +- projects/cros-tools/cros-tools | 2 +- projects/crossgcc/crossgcc | 2 +- projects/crossgcc/crossgcc-helper | 2 +- projects/depthcharge/depthcharge | 2 +- projects/depthcharge/depthcharge-helper | 2 +- projects/flashmap/flashmap | 2 +- projects/flashrom-cros/flashrom-cros | 2 +- projects/flashrom/flashrom | 2 +- projects/hdctools/hdctools | 2 +- projects/libpayload/libpayload | 2 +- projects/libpayload/libpayload-helper | 2 +- projects/libreboot-all/libreboot-all | 2 +- projects/libreboot-images/libreboot-images | 2 +- projects/libreboot-release/install/libreboot-release | 2 +- projects/libreboot-release/libreboot-release | 2 +- projects/libreboot-sources/install/libreboot-sources | 2 +- projects/libreboot-sources/libreboot-sources | 2 +- projects/libreboot-tools/libreboot-tools | 2 +- projects/mosys/mosys | 2 +- projects/nvramtool/nvramtool | 2 +- projects/vboot/vboot | 2 +- projects/vpd/vpd | 2 +- resources/scripts/helpers/build/clean/bucts | 2 +- resources/scripts/helpers/build/clean/coreboot | 2 +- resources/scripts/helpers/build/clean/crossgcc | 2 +- resources/scripts/helpers/build/clean/flashrom | 2 +- resources/scripts/helpers/build/clean/grub | 2 +- resources/scripts/helpers/build/clean/i945pwm | 2 +- resources/scripts/helpers/build/clean/ich9deblob | 2 +- resources/scripts/helpers/build/clean/memtest86plus | 2 +- resources/scripts/helpers/build/clean/rom_images | 2 +- resources/scripts/helpers/build/clean/seabios | 2 +- resources/scripts/helpers/build/config/grubmodify | 2 +- resources/scripts/helpers/build/config/grubreplace | 2 +- resources/scripts/helpers/build/config/grubupdate | 2 +- resources/scripts/helpers/build/config/seabiosmodify | 2 +- resources/scripts/helpers/build/config/seabiosrommodify | 2 +- resources/scripts/helpers/build/config/seabiosromreplace | 2 +- resources/scripts/helpers/build/config/seabiosromupdate | 2 +- resources/scripts/helpers/build/config/seabiosupdate | 2 +- resources/scripts/helpers/build/dependencies/parabola | 2 +- resources/scripts/helpers/build/dependencies/trisquel7 | 2 +- resources/scripts/helpers/build/module/bucts | 2 +- resources/scripts/helpers/build/module/coreboot | 2 +- resources/scripts/helpers/build/module/crossgcc | 2 +- resources/scripts/helpers/build/module/flashrom | 2 +- resources/scripts/helpers/build/module/grub | 2 +- resources/scripts/helpers/build/module/i945pwm | 2 +- resources/scripts/helpers/build/module/ich9deblob | 2 +- resources/scripts/helpers/build/module/memtest86plus | 2 +- resources/scripts/helpers/build/module/seabios | 2 +- resources/scripts/helpers/build/release/roms | 2 +- resources/scripts/helpers/build/release/sha512sums | 2 +- resources/scripts/helpers/build/release/src | 2 +- resources/scripts/helpers/build/release/tobuild | 2 +- resources/scripts/helpers/build/release/util | 2 +- resources/scripts/helpers/build/roms/withgrub | 2 +- resources/scripts/helpers/build/roms/withgrub_helper | 2 +- resources/scripts/helpers/build/roms/withseabios | 2 +- resources/scripts/helpers/build/roms/withseabios_helper | 2 +- resources/scripts/helpers/download/bucts | 2 +- resources/scripts/helpers/download/coreboot | 2 +- resources/scripts/helpers/download/crossgcc | 2 +- resources/scripts/helpers/download/flashrom | 2 +- resources/scripts/helpers/download/grub | 2 +- resources/scripts/helpers/download/memtest86plus | 2 +- resources/scripts/helpers/download/seabios | 2 +- resources/scripts/misc/grubeditor.sh | 2 +- resources/scripts/misc/powertop.trisquel7 | 2 +- resources/utilities/coreboot-libre/deblob | 2 +- resources/utilities/coreboot-libre/findblobs | 2 +- resources/utilities/grub-assemble/gen.sh | 2 +- resources/utilities/macbook21-three-finger-tap/install.sh | 2 +- tools/blobs-discover/blobs-discover | 2 +- tools/boot-keys/boot-keys | 2 +- tools/boot-keys/boot-keys-helper | 2 +- tools/release-external/release-external | 2 +- tools/release-external/release-external-helper | 2 +- www/generate.sh | 2 +- www/index.sh | 2 +- www/publish.sh | 2 +- 100 files changed, 100 insertions(+), 100 deletions(-) diff --git a/download b/download index 64e4d9cc..f9f9c4a3 100755 --- a/download +++ b/download @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # download script: Download the programs used in libreboot, that # aren't distributed in the git repository. diff --git a/flash b/flash index 4c607a16..7d4b0e2e 100755 --- a/flash +++ b/flash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # flash script: uses flashrom to flash a libreboot ROM image # diff --git a/libreboot b/libreboot index cd358935..483dff93 100755 --- a/libreboot +++ b/libreboot @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/libs/common b/libs/common index ce0df299..6cd2dfe0 100755 --- a/libs/common +++ b/libs/common @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/libs/git b/libs/git index e62c22e3..a6509fc1 100755 --- a/libs/git +++ b/libs/git @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/libs/project b/libs/project index dc2e056f..babeb6bd 100755 --- a/libs/project +++ b/libs/project @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/libs/tool b/libs/tool index 77517dda..8d067d94 100755 --- a/libs/tool +++ b/libs/tool @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cbfstool/cbfstool b/projects/cbfstool/cbfstool index aa866027..3666eb23 100755 --- a/projects/cbfstool/cbfstool +++ b/projects/cbfstool/cbfstool @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cbmem/cbmem b/projects/cbmem/cbmem index 50fcb7d5..6a469f61 100755 --- a/projects/cbmem/cbmem +++ b/projects/cbmem/cbmem @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/coreboot/coreboot b/projects/coreboot/coreboot index 2a414dee..5a3c3c7f 100755 --- a/projects/coreboot/coreboot +++ b/projects/coreboot/coreboot @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/coreboot/coreboot-helper b/projects/coreboot/coreboot-helper index b7849373..8a528fa5 100644 --- a/projects/coreboot/coreboot-helper +++ b/projects/coreboot/coreboot-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-ec/cros-ec b/projects/cros-ec/cros-ec index 1e90c28e..a8a5a634 100755 --- a/projects/cros-ec/cros-ec +++ b/projects/cros-ec/cros-ec @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-ec/cros-ec-helper b/projects/cros-ec/cros-ec-helper index abbc869c..a2ec762c 100755 --- a/projects/cros-ec/cros-ec-helper +++ b/projects/cros-ec/cros-ec-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/cros-scripts b/projects/cros-scripts/cros-scripts index 4e3bb459..0db79f96 100755 --- a/projects/cros-scripts/cros-scripts +++ b/projects/cros-scripts/cros-scripts @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/install/cros-boot-keys b/projects/cros-scripts/install/cros-boot-keys index bd60a4e2..28b25175 100755 --- a/projects/cros-scripts/install/cros-boot-keys +++ b/projects/cros-scripts/install/cros-boot-keys @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/install/cros-firmware-prepare b/projects/cros-scripts/install/cros-firmware-prepare index ad10e5c9..52deadf5 100755 --- a/projects/cros-scripts/install/cros-firmware-prepare +++ b/projects/cros-scripts/install/cros-firmware-prepare @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/install/cros-kernel-install b/projects/cros-scripts/install/cros-kernel-install index 37575e6b..7333b3fa 100755 --- a/projects/cros-scripts/install/cros-kernel-install +++ b/projects/cros-scripts/install/cros-kernel-install @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/install/cros-kernel-prepare b/projects/cros-scripts/install/cros-kernel-prepare index bfd667c0..047bb5c1 100755 --- a/projects/cros-scripts/install/cros-kernel-prepare +++ b/projects/cros-scripts/install/cros-kernel-prepare @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-scripts/install/cros-medium-setup b/projects/cros-scripts/install/cros-medium-setup index b50fad76..2b278a9d 100755 --- a/projects/cros-scripts/install/cros-medium-setup +++ b/projects/cros-scripts/install/cros-medium-setup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/cros-tools/cros-tools b/projects/cros-tools/cros-tools index 3f0b0e83..41d4c8f3 100755 --- a/projects/cros-tools/cros-tools +++ b/projects/cros-tools/cros-tools @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/crossgcc/crossgcc b/projects/crossgcc/crossgcc index 67a1c52e..3ad3b7ae 100755 --- a/projects/crossgcc/crossgcc +++ b/projects/crossgcc/crossgcc @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/crossgcc/crossgcc-helper b/projects/crossgcc/crossgcc-helper index 557b6fc6..5c4072d2 100755 --- a/projects/crossgcc/crossgcc-helper +++ b/projects/crossgcc/crossgcc-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/depthcharge/depthcharge b/projects/depthcharge/depthcharge index ad93bdef..ca31d4be 100755 --- a/projects/depthcharge/depthcharge +++ b/projects/depthcharge/depthcharge @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/depthcharge/depthcharge-helper b/projects/depthcharge/depthcharge-helper index b7e896b3..440fe0fe 100755 --- a/projects/depthcharge/depthcharge-helper +++ b/projects/depthcharge/depthcharge-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/flashmap/flashmap b/projects/flashmap/flashmap index 0e038ffd..4ac6ab70 100755 --- a/projects/flashmap/flashmap +++ b/projects/flashmap/flashmap @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/flashrom-cros/flashrom-cros b/projects/flashrom-cros/flashrom-cros index 7cb14cdf..8e793fa7 100755 --- a/projects/flashrom-cros/flashrom-cros +++ b/projects/flashrom-cros/flashrom-cros @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/flashrom/flashrom b/projects/flashrom/flashrom index 45f0ffc4..0206e6b7 100755 --- a/projects/flashrom/flashrom +++ b/projects/flashrom/flashrom @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/hdctools/hdctools b/projects/hdctools/hdctools index f48b8a1e..9a7abdf0 100755 --- a/projects/hdctools/hdctools +++ b/projects/hdctools/hdctools @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libpayload/libpayload b/projects/libpayload/libpayload index 60cc43c9..fc5f8764 100755 --- a/projects/libpayload/libpayload +++ b/projects/libpayload/libpayload @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libpayload/libpayload-helper b/projects/libpayload/libpayload-helper index 05970932..a007aa2d 100755 --- a/projects/libpayload/libpayload-helper +++ b/projects/libpayload/libpayload-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-all/libreboot-all b/projects/libreboot-all/libreboot-all index 3f0b0e83..41d4c8f3 100755 --- a/projects/libreboot-all/libreboot-all +++ b/projects/libreboot-all/libreboot-all @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-images/libreboot-images b/projects/libreboot-images/libreboot-images index 3f0b0e83..41d4c8f3 100755 --- a/projects/libreboot-images/libreboot-images +++ b/projects/libreboot-images/libreboot-images @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-release/install/libreboot-release b/projects/libreboot-release/install/libreboot-release index 58a384f0..97f385df 100644 --- a/projects/libreboot-release/install/libreboot-release +++ b/projects/libreboot-release/install/libreboot-release @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-release/libreboot-release b/projects/libreboot-release/libreboot-release index 9ec5399d..d693f503 100755 --- a/projects/libreboot-release/libreboot-release +++ b/projects/libreboot-release/libreboot-release @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-sources/install/libreboot-sources b/projects/libreboot-sources/install/libreboot-sources index e85d3c22..f51fb93a 100755 --- a/projects/libreboot-sources/install/libreboot-sources +++ b/projects/libreboot-sources/install/libreboot-sources @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-sources/libreboot-sources b/projects/libreboot-sources/libreboot-sources index 7d604740..3dc1cb7d 100755 --- a/projects/libreboot-sources/libreboot-sources +++ b/projects/libreboot-sources/libreboot-sources @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/libreboot-tools/libreboot-tools b/projects/libreboot-tools/libreboot-tools index 3f0b0e83..41d4c8f3 100755 --- a/projects/libreboot-tools/libreboot-tools +++ b/projects/libreboot-tools/libreboot-tools @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/mosys/mosys b/projects/mosys/mosys index 76b9d15b..f0f3345b 100755 --- a/projects/mosys/mosys +++ b/projects/mosys/mosys @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/nvramtool/nvramtool b/projects/nvramtool/nvramtool index 18c2fbe5..70bf0758 100755 --- a/projects/nvramtool/nvramtool +++ b/projects/nvramtool/nvramtool @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/vboot/vboot b/projects/vboot/vboot index 2a062023..a36791d6 100755 --- a/projects/vboot/vboot +++ b/projects/vboot/vboot @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/projects/vpd/vpd b/projects/vpd/vpd index a9c8a8e2..f8ebe59f 100755 --- a/projects/vpd/vpd +++ b/projects/vpd/vpd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # 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 # 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 diff --git a/tools/blobs-discover/blobs-discover b/tools/blobs-discover/blobs-discover index 59b78f42..6d143d02 100755 --- a/tools/blobs-discover/blobs-discover +++ b/tools/blobs-discover/blobs-discover @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/tools/boot-keys/boot-keys b/tools/boot-keys/boot-keys index ddc0273a..da56aca9 100755 --- a/tools/boot-keys/boot-keys +++ b/tools/boot-keys/boot-keys @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/tools/boot-keys/boot-keys-helper b/tools/boot-keys/boot-keys-helper index d386c8ba..31e2c16b 100755 --- a/tools/boot-keys/boot-keys-helper +++ b/tools/boot-keys/boot-keys-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash KERNEL="kernel" TYPE="type" diff --git a/tools/release-external/release-external b/tools/release-external/release-external index 822b40e5..c674970a 100755 --- a/tools/release-external/release-external +++ b/tools/release-external/release-external @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2016 Paul Kocialkowski # diff --git a/tools/release-external/release-external-helper b/tools/release-external/release-external-helper index 53a3f467..bde03cfe 100755 --- a/tools/release-external/release-external-helper +++ b/tools/release-external/release-external-helper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash release_external_files() { find "$root/$RELEASE" -type f | grep -vP "\.$ASC|\.$SHA256SUM" diff --git a/www/generate.sh b/www/generate.sh index 4d9e6c8a..3e54dc13 100755 --- a/www/generate.sh +++ b/www/generate.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash [ "x${DEBUG+set}" = 'xset' ] && set -v set -e diff --git a/www/index.sh b/www/index.sh index 938baca1..18aad44b 100755 --- a/www/index.sh +++ b/www/index.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Copyright (C) 2017 Alyssa Rosenzweig # diff --git a/www/publish.sh b/www/publish.sh index 0be47a78..cdf3a72a 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Copyright (C) 2017 Alyssa Rosenzweig # Copyright (C) 2017 Leah Rowe -- cgit v1.2.3-70-g09d2