fix hdiutil mount

This commit is contained in:
Joey Hess 2013-11-25 13:53:28 -04:00
parent 6ee56ce685
commit 2398f0983d

View file

@ -158,7 +158,7 @@ upgradeToDistribution newdir cleanup distributionfile = do
withTmpDirIn (parentDir newdir) "git-annex.upgrade" $ \tmpdir -> do
void $ boolSystem "hdiutil"
[ Param "attach", File distributionfile
, Param "-mountroot", File tmpdir
, Param "-mountpoint", File tmpdir
]
void $ boolSystem "cp"
[ Param "-R"