Skip to content

Commit

Permalink
fix #502: boot.tmpdir/cp: pass file path to add-blob! (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinklepsch authored Jan 9, 2018
1 parent 21d9213 commit 3b93264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ and `technomancy` for the above explanation.
- `fileset-diff` correctly handles nested data structures [#566][566]
- Boot does not sign jars with classifiers [#625][625]
- Allow clojure source jar onto the classpath [#654][654]
- Fix `boot.tmpdir/cp` [#502][502]

[502]: https://github.com/boot-clj/boot/pull/502
[598]: https://github.com/boot-clj/boot/pull/598
[625]: https://github.com/boot-clj/boot/pull/625
[629]: https://github.com/boot-clj/boot/pull/629
Expand Down
2 changes: 1 addition & 1 deletion boot/pod/src/boot/tmpdir.clj
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
d' (dir dest-tmpfile)]
(assert ((set (map file dirs)) d')
(format "dest-dir not in dir set (%s)" d'))
(add-blob! blob src-file hash *hard-link*)
(add-blob! blob (.toPath src-file) hash *hard-link*)
(assoc this :tree (merge tree {p' (assoc dest-tmpfile :id hash)})))))

;; additional api functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit 3b93264

Please sign in to comment.