From 37e125fcd8732ace41a349196ba68963bf99aadb Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 2 Oct 2018 13:50:07 +0200 Subject: [PATCH] change home-dir to a home dir --- src/wanijo_pipeline/core.clj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wanijo_pipeline/core.clj b/src/wanijo_pipeline/core.clj index acd75a4..b8e36e2 100644 --- a/src/wanijo_pipeline/core.clj +++ b/src/wanijo_pipeline/core.clj @@ -5,7 +5,8 @@ [org.httpkit.server :as http-kit] [lambdacd.runners :as runners] [lambdacd.core :as lambdacd] - [clojure.tools.logging :as log]) + [clojure.tools.logging :as log] + [clojure.java.io :refer [as-file]]) (:import (java.nio.file.attribute FileAttribute) (java.nio.file Files LinkOption)) (:gen-class)) @@ -16,7 +17,8 @@ (defn -main [& args] (let [;; the home dir is where LambdaCD saves all data. ;; point this to a particular directory to keep builds around after restarting - home-dir (create-temp-dir) + ;; home-dir (create-temp-dir) + home-dir (as-file "/home/nonroot") config {:home-dir home-dir :name "wanijo pipeline"} ;; initialize and wire everything together