summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmakehdf52
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmakehdf5 b/bin/cmakehdf5
index 876b4c2..1e642d3 100755
--- a/bin/cmakehdf5
+++ b/bin/cmakehdf5
@@ -149,7 +149,7 @@ INSTALL_HDF5()
# copy the contents to the install location
cp -R "/Volumes/$basename/HDF_Group" hdf5
# unmount the DMG file
- hdiutil umount $install_file
+ hdiutil unmount /Volumes/$basename
;;
*) # unknown/unsupported OS.
echo "INSTALL_HDF5: Error--unknown/unsupported OS($myos)"