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
|
||||
]
|
||||
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"
|
||||
[ Param "eject"
|
||||
, Param distributionfile
|
||||
|
|
Loading…
Add table
Reference in a new issue