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 []