ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS)

This commit is contained in:
Benoit de Chezelles 2026-08-03 05:46:20 +02:00
parent cce7d7a000
commit 6f8b1d41b2
20 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script updates the icon files from the svg file.
# It assumes that the svg file is square.
set -x

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Use eg: `xwininfo -int` to get the id of a wezterm
# and pass it to this script

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
rm -rf AppDir *.AppImage *.zsync
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SERVE=no
if [ "$1" == "serve" ] ; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
name="$1"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Use eg: `xwininfo -int` to get the id of a wezterm
# and pass it to this script

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -xe
winget_repo=$1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -x
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generate a source tarball that includes git submodules
set -x

View File

@ -1,2 +1,2 @@
#!/bin/bash
#!/usr/bin/env bash
git -c "core.abbrev=8" show -s "--format=%cd-%h" "--date=format:%Y%m%d-%H%M%S"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
TAGNAME=$(./ci/tag-name.sh)
git tag $TAGNAME

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# You need: https://crates.io/crates/cargo-cooldown
# This script is logically equivalent to running `cargo update`
# but respects dependency cooldown settings found in the cooldown.toml

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Update files that are derived from things baked into the executable

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Sync the vendored sources from a pixman URL
# eg:
# wget 'https://cairographics.org/snapshots/cairo-1.17.8.tar.xz'

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Sync the vendored sources from a pixman URL
# eg:
# wget 'https://cairographics.org/releases/pixman-0.42.2.tar.gz'

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
bindgen bindings.h -o src/types.rs \
--no-layout-tests \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
bindgen bindings.h -o src/lib.rs \
--no-layout-tests \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html