Skip to content

Commit 841e0a1

Browse files
committed
make_dist.sh: use bash, optional parameter
1 parent 35bf27f commit 841e0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make_dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -euo pipefail
44

@@ -8,7 +8,7 @@ PYTHON=python3
88

99
make_wheel()
1010
{
11-
PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=$2 \
11+
PYTHON_SOUNDDEVICE_PLATFORM=$1 PYTHON_SOUNDDEVICE_ARCHITECTURE=${2:-} \
1212
$PYTHON -m build
1313
}
1414

0 commit comments

Comments
 (0)