diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2022-08-21 17:44:50 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2022-08-21 17:44:50 +0200 |
| commit | 841e0a1b2ea2367476248e5f0fc6878154949417 (patch) | |
| tree | c34cf7196f5e762f7a9219b2767b48234e29633c | |
| parent | 35bf27fd88be7e58dbc210f0e772fa433b9f8e70 (diff) | |
make_dist.sh: use bash, optional parameter
| -rwxr-xr-x | make_dist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make_dist.sh b/make_dist.sh index 600edeb..4c4fe6e 100755 --- a/make_dist.sh +++ b/make_dist.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -euo pipefail @@ -8,7 +8,7 @@ PYTHON=python3 make_wheel() { - PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=$2 \ + PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=${2:-} \ $PYTHON -m build } |
