summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2022-08-21 17:44:50 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2022-08-21 17:44:50 +0200
commit841e0a1b2ea2367476248e5f0fc6878154949417 (patch)
treec34cf7196f5e762f7a9219b2767b48234e29633c
parent35bf27fd88be7e58dbc210f0e772fa433b9f8e70 (diff)
make_dist.sh: use bash, optional parameter
-rwxr-xr-xmake_dist.sh4
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
}