fix hdutil syntax
This commit is contained in:
parent
5163d5fb39
commit
a9f2785b86
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue