binary build scripts: use /bin/sh

there is no bash on some BSDs
This commit is contained in:
Thomas Waldmann 2026-06-07 15:32:19 +02:00
parent 331fcb7bfc
commit 44e6ebdcd0
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/sh
# Generate a single-file binary of borgbackup using Nuitka.
set -euo pipefail
set -eu
OUTPUT_DIR="dist/binary"
OUTPUT_FILENAME="borg-nuitka.exe" # .exe does NOT mean windows here

View file

@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/sh
# Generate a single-file binary of borgbackup using PyInstaller.
set -euo pipefail
set -eu
OUTPUT_DIR="dist/binary"
SPEC_FILE="scripts/borg.exe.spec"