summaryrefslogtreecommitdiff
path: root/src/Propellor/Bootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess2018-10-23 11:34:43 -0400
committerJoey Hess2018-10-23 11:34:43 -0400
commitbb1e64e5f67a9f12a602b5fd567a8203757daae9 (patch)
tree8b54dcbb999690ead590a676b3612b34e02f6179 /src/Propellor/Bootstrap.hs
parent07b8c8eb898a434a25714be79e9c6d49907e02a7 (diff)
parentf80c7a800dd4379fadddf5968a8ad79207aee7c5 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Bootstrap.hs')
-rw-r--r--src/Propellor/Bootstrap.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs
index eba291c4..66e6e1ff 100644
--- a/src/Propellor/Bootstrap.hs
+++ b/src/Propellor/Bootstrap.hs
@@ -262,8 +262,8 @@ cabalBuild msys = do
-- a binary that is fully built. Also, avoid ever removing
-- or breaking the symlink.
--
- -- Need cp -a to make build timestamp checking work.
- unlessM (boolSystem "cp" [Param "-af", Param cabalbuiltbin, Param (tmpfor safetycopy)]) $
+ -- Need cp -pfRL to make build timestamp checking work.
+ unlessM (boolSystem "cp" [Param "-pfRL", Param cabalbuiltbin, Param (tmpfor safetycopy)]) $
error "cp of binary failed"
rename (tmpfor safetycopy) safetycopy
symlinkPropellorBin safetycopy