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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user