1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 09:31:14 +01:00

Change bash scripts to be POSIX-compatible

some Unix-like operating systems, namely Alpine, don't come with bash
preinstalled.
scripts in the lib-src/ directory were left untouched.

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
This commit is contained in:
Sol Fisher Romanoff
2021-12-02 09:32:47 +02:00
parent d118b79a04
commit f395687c9f
16 changed files with 149 additions and 144 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
((${BASH_VERSION%%.*} >= 4)) || { echo >&2 "$0: Error: Please upgrade Bash."; exit 1; }
@@ -8,7 +8,7 @@ max_retry=12
counter=0
num_secs_await_retry=20
echo "Trying: /usr/bin/hdiutil $@"
echo "Trying: /usr/bin/hdiutil $*"
until /usr/bin/hdiutil "$@"; do
sleep $num_secs_await_retry