Fix windows temp path
This commit is contained in:
parent
988cee0f1e
commit
9171d840cc
|
@ -1,4 +1,4 @@
|
|||
(defproject rsspaper "1.1.1"
|
||||
(defproject rsspaper "1.1.2"
|
||||
:description "RSSpaper"
|
||||
:url "https://github.com/tanrax/RSSpaper"
|
||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
file-index "index.html"
|
||||
path-dist-index (str dir-dist "index.html")
|
||||
zip-static "static.zip"
|
||||
tmp-static "/tmp/rsspaper.zip"]
|
||||
tmp-static (str (fs/tmpdir) "/rsspaper.zip")]
|
||||
;; Remove old index.html
|
||||
(when (.exists (io/file path-dist-index)) (io/delete-file path-dist-index))
|
||||
;; Make dir dist
|
||||
|
@ -32,4 +32,4 @@
|
|||
:articles (get-articles)})))
|
||||
;; Make static
|
||||
(copy-uri-to-file (str path-theme zip-static) tmp-static)
|
||||
(fsc/unzip tmp-static dir-dist)))
|
||||
(fsc/unzip tmp-static dir-dist)))
|
||||
|
|
Loading…
Reference in New Issue