OSX build fixes
This commit is contained in:
parent
1fb69fe01c
commit
03827783bc
1 changed files with 2 additions and 2 deletions
|
@ -168,13 +168,13 @@ upgradeToDistribution newdir cleanup distributionfile = do
|
||||||
olddir <- oldVersionLocation
|
olddir <- oldVersionLocation
|
||||||
withTmpDirIn (parentDir newdir) (literalOsPath "git-annex.upgrade") $ \tmpdir -> do
|
withTmpDirIn (parentDir newdir) (literalOsPath "git-annex.upgrade") $ \tmpdir -> do
|
||||||
void $ boolSystem "hdiutil"
|
void $ boolSystem "hdiutil"
|
||||||
[ Param "attach", File distributionfile
|
[ Param "attach", File (fromOsPath distributionfile)
|
||||||
, Param "-mountpoint", File (fromOsPath tmpdir)
|
, Param "-mountpoint", File (fromOsPath tmpdir)
|
||||||
]
|
]
|
||||||
void $ boolSystem "cp"
|
void $ boolSystem "cp"
|
||||||
[ Param "-R"
|
[ Param "-R"
|
||||||
, File $ fromOsPath $ tmpdir </> toOsPath installBase </> literalOsPath "Contents"
|
, File $ fromOsPath $ tmpdir </> toOsPath installBase </> literalOsPath "Contents"
|
||||||
, File $ newdir
|
, File (fromOsPath newdir)
|
||||||
]
|
]
|
||||||
void $ boolSystem "hdiutil"
|
void $ boolSystem "hdiutil"
|
||||||
[ Param "eject"
|
[ Param "eject"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue