summaryrefslogtreecommitdiff
path: root/src/Propellor/Bootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess2015-09-30 16:39:38 -0400
committerJoey Hess2015-09-30 16:39:38 -0400
commitbe5d4b6dbc919f0c390b2c4a78ae8b0e348e4933 (patch)
tree1700b8bb3521d067a9e3406cdff86a9fe2890b94 /src/Propellor/Bootstrap.hs
parenta1ba3c61249ac0b8b5367b0ed5bc5b1b58974173 (diff)
parentfbc9f293eb4bd545ff4fea9ca87cb97ab74eb4d4 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Bootstrap.hs')
-rw-r--r--src/Propellor/Bootstrap.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs
index 089def51..0cb37092 100644
--- a/src/Propellor/Bootstrap.hs
+++ b/src/Propellor/Bootstrap.hs
@@ -111,7 +111,7 @@ build = catchBoolIO $ do
-- or breaking the symlink.
--
-- Need cp -a to make build timestamp checking work.
- unlessM (boolSystem "cp" [Param "-a", Param cabalbuiltbin, Param (tmpfor safetycopy)]) $
+ unlessM (boolSystem "cp" [Param "-af", Param cabalbuiltbin, Param (tmpfor safetycopy)]) $
error "cp of binary failed"
rename (tmpfor safetycopy) safetycopy
createSymbolicLink safetycopy (tmpfor dest)