Move non-Nix bash scripts

This commit is contained in:
Oliver Davies 2025-03-29 23:34:25 +00:00
parent 7c9ffc116e
commit f2eea2d397
21 changed files with 11 additions and 10 deletions

View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
if [[ "$1" == "" ]]; then
echo "Usage: ${0##*/} <script-name>"; exit 2
fi
set -o errexit
set -o nounset
set -o pipefail
cat > "${1}" << EOF
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
echo "${1}"
EOF
chmod +x "${1}"