Skip to content

Commit 44e6ebd

Browse files
binary build scripts: use /bin/sh
there is no bash on some BSDs
1 parent 331fcb7 commit 44e6ebd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎scripts/build-borg-using-nuitka.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# Generate a single-file binary of borgbackup using Nuitka.
33

4-
set -euo pipefail
4+
set -eu
55

66
OUTPUT_DIR="dist/binary"
77
OUTPUT_FILENAME="borg-nuitka.exe" # .exe does NOT mean windows here

‎scripts/build-borg-using-pyinstaller.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# Generate a single-file binary of borgbackup using PyInstaller.
33

4-
set -euo pipefail
4+
set -eu
55

66
OUTPUT_DIR="dist/binary"
77
SPEC_FILE="scripts/borg.exe.spec"

0 commit comments

Comments
 (0)