From 3b2468c824619ec1e7ebc284c3540883b97b27ab Mon Sep 17 00:00:00 2001 From: Joey Hess <joey@kitenet.net> Date: Mon, 25 Nov 2013 14:37:44 -0400 Subject: [PATCH] path somehow wrong --- Assistant/Upgrade.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Assistant/Upgrade.hs b/Assistant/Upgrade.hs index 694241f83f..b3bb367009 100644 --- a/Assistant/Upgrade.hs +++ b/Assistant/Upgrade.hs @@ -162,9 +162,7 @@ upgradeToDistribution newdir cleanup distributionfile = do ] void $ boolSystem "cp" [ Param "-R" - -- Trailing slash to copy the directory - -- contents. - , File $ tmpdir </> installBase ++ "/" + , File $ tmpdir </> installBase </> "Contents" , File $ newdir ] sanitycheck newdir