From fea3a08bc71bff51bc13ec33cffa4023504ff3f2 Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Sun, 17 Nov 2024 14:08:26 +0100 Subject: [PATCH] use parent path for config dir creation --- configs/configs.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/configs.clj b/configs/configs.clj index e55c56b..a0ebd56 100755 --- a/configs/configs.clj +++ b/configs/configs.clj @@ -41,7 +41,7 @@ (defn- link-config-file [src dest] ;; make sure the parent directory of destination file exists - (safe-sh-as-user "mkdir" "-p" dest) + (->> (fs/file) (fs/parent) (fs/path) (safe-sh-as-user "mkdir" "-p")) (safe-sh-as-user "ln" "-fs" src dest)) (defn- link-config-files []