diff options
Diffstat (limited to 'src/Propellor/Shim.hs')
| -rw-r--r-- | src/Propellor/Shim.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Shim.hs b/src/Propellor/Shim.hs index a3c8e701..e2941420 100644 --- a/src/Propellor/Shim.hs +++ b/src/Propellor/Shim.hs @@ -77,7 +77,7 @@ installFile :: FilePath -> FilePath -> IO () installFile top f = do createDirectoryIfMissing True destdir nukeFile dest - createLink f dest `catchIO` (const copy) + createLink f dest `catchIO` const copy where copy = void $ boolSystem "cp" [Param "-a", Param f, Param dest] destdir = inTop top $ takeDirectory f |
