aboutsummaryrefslogtreecommitdiff
path: root/manual tests
diff options
context:
space:
mode:
authorStefan Graupner <stefan.graupner@gmail.com>2017-05-17 08:43:53 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-05-21 21:48:49 +0300
commit80f252bb5cafca5b532f19bdc2facd47a9e02afc (patch)
tree70e23853aa24ce0f3aa0e5d9de2b21684bfc3451 /manual tests
parent5ec6151e56140a19ef185052ffb02bd1ff957bd7 (diff)
downloadmeson-80f252bb5cafca5b532f19bdc2facd47a9e02afc.zip
meson-80f252bb5cafca5b532f19bdc2facd47a9e02afc.tar.gz
meson-80f252bb5cafca5b532f19bdc2facd47a9e02afc.tar.bz2
Change hdiutil detach
The detach now always fetches the correct mountpoint.
Diffstat (limited to 'manual tests')
-rwxr-xr-xmanual tests/4 standalone binaries/build_osx_package.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/manual tests/4 standalone binaries/build_osx_package.sh b/manual tests/4 standalone binaries/build_osx_package.sh
index eca11c6..f452d51 100755
--- a/manual tests/4 standalone binaries/build_osx_package.sh
+++ b/manual tests/4 standalone binaries/build_osx_package.sh
@@ -9,12 +9,9 @@ mkdir -p mnttmp
rm -f working.dmg
gunzip < template.dmg.gz > working.dmg
hdiutil attach working.dmg -noautoopen -quiet -mountpoint mnttmp
-# NOTE: output of hdiutil changes every now and then.
-# Verify that this is still working.
-DEV=`hdiutil info|tail -1|awk '{print $1}'`
rm -rf mnttmp/myapp.app
mv /tmp/myapp.app mnttmp
-hdiutil detach ${DEV}
+hdiutil detach $(hdiutil info|grep "mnttmp"|awk '{print $1}')
rm -rf mnttmp
rm -f myapp.dmg
hdiutil convert working.dmg -quiet -format UDZO -imagekey zlib-level=9 -o myapp.dmg