   "Given a fileset and a dest-tmpfile from that fileset, overwrites the dest
   tmpfile with the contents of the java.io.File src-file."
   [fileset ^File src-file dest-tmpfile]
-  (->> (tmpdir dest-tmpfile)
+  (->> (tmp-dir dest-tmpfile)
        (non-user-dir-for fileset)
        (assoc dest-tmpfile :dir)
        (tmpd/cp fileset src-file)))

    [java.lang.management ManagementFactory]
    [java.util.concurrent LinkedBlockingQueue TimeUnit Semaphore]))

(declare watch-dirs sync! post-env! get-env set-env! tmpfile tmpdir ls)

(declare ^{:dynamic true :doc "The running version of boot app."}        *app-version*)
(declare ^{:dynamic true :doc "The script's name (when run as script)."} *boot-script*)


(defn- get-files [this masks+]
  (let [dirs (get-dirs this masks+)]
    (->> this ls (filter (comp dirs tmp-dir)) set)))

(defn- tmp-dir*
  [key]
