fix copying of files from mounted dmg
This commit is contained in:
parent
a9f2785b86
commit
88991c4eb2
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,12 @@ upgradeToDistribution newdir cleanup distributionfile = do
|
||||||
, Param "-mountroot", File tmpdir
|
, Param "-mountroot", File tmpdir
|
||||||
]
|
]
|
||||||
sanitycheck tmpdir
|
sanitycheck tmpdir
|
||||||
installby createLinkOrCopy newdir (tmpdir </> installBase)
|
void $ boolSystem "cp"
|
||||||
|
[ Param "-R"
|
||||||
|
-- Trailing slash to copy directory contents.
|
||||||
|
, File $ tmpdir ++ "/"
|
||||||
|
, File newdir
|
||||||
|
]
|
||||||
void $ boolSystem "hdiutil"
|
void $ boolSystem "hdiutil"
|
||||||
[ Param "eject"
|
[ Param "eject"
|
||||||
, Param distributionfile
|
, Param distributionfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue