summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig-cache-hook.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-cache-hook.tl b/config-cache-hook.tl
index 73b7e30b..7355c3f6 100755
--- a/config-cache-hook.tl
+++ b/config-cache-hook.tl
@@ -18,13 +18,13 @@
(when [all %files% path-exists-p]
(let ((dir (path-cat %cachedir% sha)))
(ensure-dir dir)
- (copy-files %files% dir))))
+ (copy-files %files% dir t))))
(defun try-restore-new-config (sha)
(let* ((dir (path-cat %cachedir% sha))
(files [map (op path-cat dir) %files%]))
(when [all files path-exists-p]
- (copy-files files ".")
+ (copy-files files "." t)
(put-line `restored cached configuration for @sha`))))
(match-case *args*