From ea5fcc0204d1ac481e65e75e8f8a67060691db76 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Tue, 29 Nov 2022 19:52:21 +1300 Subject: [PATCH] maintainers/scripts: Use Bash shebang line for files with bashisms --- maintainers/scripts/debian-patches.sh | 2 +- maintainers/scripts/eval-release.sh | 2 +- maintainers/scripts/update-channel-branches.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maintainers/scripts/debian-patches.sh b/maintainers/scripts/debian-patches.sh index de6be136ca77..1f021c224c3a 100755 --- a/maintainers/scripts/debian-patches.sh +++ b/maintainers/scripts/debian-patches.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Download patches from debian project # Usage $0 debian-patches.txt debian-patches.nix diff --git a/maintainers/scripts/eval-release.sh b/maintainers/scripts/eval-release.sh index e0dfaf1de74c..b588c767b6ae 100755 --- a/maintainers/scripts/eval-release.sh +++ b/maintainers/scripts/eval-release.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#!/usr/bin/env bash if [[ -z "$VERBOSE" ]]; then echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent" diff --git a/maintainers/scripts/update-channel-branches.sh b/maintainers/scripts/update-channel-branches.sh index d65cf3ec5f63..eaa731adccce 100755 --- a/maintainers/scripts/update-channel-branches.sh +++ b/maintainers/scripts/update-channel-branches.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -e : ${NIXOS_CHANNELS:=https://nixos.org/channels/}