From 6ee56ce685a5a032a8bce98ca251d164de23041d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 25 Nov 2013 13:46:24 -0400 Subject: [PATCH] move sanity check --- Assistant/Upgrade.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/Upgrade.hs b/Assistant/Upgrade.hs index 4a62efef07..5d32cbe0be 100644 --- a/Assistant/Upgrade.hs +++ b/Assistant/Upgrade.hs @@ -160,12 +160,12 @@ upgradeToDistribution newdir cleanup distributionfile = do [ Param "attach", File distributionfile , Param "-mountroot", File tmpdir ] - sanitycheck tmpdir void $ boolSystem "cp" [ Param "-R" , File $ tmpdir installBase , File $ newdir ] + sanitycheck newdir void $ boolSystem "hdiutil" [ Param "eject" , Param distributionfile