fix hdutil syntax

This commit is contained in:
Joey Hess 2013-11-25 13:10:45 -04:00
parent 5163d5fb39
commit a9f2785b86

View file

@ -160,9 +160,8 @@ upgradeToDistribution newdir cleanup distributionfile = do
olddir <- oldVersionLocation olddir <- oldVersionLocation
withTmpDirIn (parentDir newdir) "git-annex.upgrade" $ \tmpdir -> do withTmpDirIn (parentDir newdir) "git-annex.upgrade" $ \tmpdir -> do
void $ boolSystem "hdiutil" void $ boolSystem "hdiutil"
[ Param "attach" [ Param "attach", File distributionfile
, Param distributionfile , Param "-mountroot", File tmpdir
, Param tmpdir
] ]
sanitycheck tmpdir sanitycheck tmpdir
installby createLinkOrCopy newdir (tmpdir </> installBase) installby createLinkOrCopy newdir (tmpdir </> installBase)