aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-05-21 21:51:56 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-05-21 21:51:56 +0300
commit5794f37af5c5ce0010168d163f2568d7581b5a13 (patch)
tree6da245f99babd91f2afc957f5d3aa5c29dd1da9d
parenteffe4fb13416279eecad52504e5ce1e0b4c7e5e3 (diff)
parentf4b20a1cc3e4526499823355a86cbcf28ea849f0 (diff)
downloadmeson-5794f37af5c5ce0010168d163f2568d7581b5a13.zip
meson-5794f37af5c5ce0010168d163f2568d7581b5a13.tar.gz
meson-5794f37af5c5ce0010168d163f2568d7581b5a13.tar.bz2
Merge hdiutil fix branch.
-rwxr-xr-xmanual tests/4 standalone binaries/build_osx_package.sh7
1 files changed, 3 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..eb4ec38 100755
--- a/manual tests/4 standalone binaries/build_osx_package.sh
+++ b/manual tests/4 standalone binaries/build_osx_package.sh
@@ -9,12 +9,11 @@ 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}
+# NOTE: output of hdiutil changes every now and then.
+# Verify that this is still working.
+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