1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-14 14:41:11 +02:00

Reattempt fixing MacOS build problem related to CPack issue (#198)

* Undo non-working Mac OS CI build fix in build_dist.sh
* Implement CPack workaround for CMake PR #4769
* Fix typo in scripts/ci/package.sh
* Fix typo in scripts/ci/package.sh
* Add debug option for hdiutil_repeat.sh
* Make reviewer changes
* Change typo in package.sh with hdiutil script name.
* Change path reference in package.sh to use $PWD.
* Add strings to escape path in scripts/ci/package.sh
* Fix scripts/ci/macos/repeat_hdiutil.sh
* Remove -e option. Don't copy/paste without double checking closely I guess. 😐
* 💲 Add dollar signs where appropriate as reviewers pointed out.
* Replace until/do contents with easier to read if block.
* Cleanup readability of scripts/ci/macos/repeat_hdiutil.sh
* Add $wait_before_retry config value
* Replace $cmd_string with literal value
* Move do onto same line as until.
* Minor changes to fix for MacOS CMake builds
* Rename variable in scripts/ci/macos/repeat_hdiutil.sh
* Use . instead of pwd in package.sh

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
This commit is contained in:
Emily Mabrey
2021-07-10 19:47:54 -04:00
committed by GitHub
parent b8b669bc54
commit 61f9227f67
3 changed files with 22 additions and 1 deletions

View File

@@ -205,7 +205,7 @@ cp "${SRCROOT}/Resources/Audacity-DMG-background.png" "${DMG}/.background"
ATTACHED=$(hdiutil info | awk "/\/Volumes\/${VOL}/{print \$1}")
if [ -n "${ATTACHED}" ]
then
#hdiutil detach "${ATTACHED}"
hdiutil detach "${ATTACHED}"
fi
# Create and mount the image