Merge pull request #203565 from l0b0/fix/bashism-shebangs-maintainers-scripts
maintainers/scripts: Use Bash shebang line for files with bashisms
This commit is contained in:
commit
352c671335
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Download patches from debian project
|
# Download patches from debian project
|
||||||
# Usage $0 debian-patches.txt debian-patches.nix
|
# Usage $0 debian-patches.txt debian-patches.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ -z "$VERBOSE" ]]; then
|
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"
|
echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
: ${NIXOS_CHANNELS:=https://nixos.org/channels/}
|
: ${NIXOS_CHANNELS:=https://nixos.org/channels/}
|
||||||
|
|
Loading…
Reference in a new issue