Skip to content

Commit

Permalink
need to specify apsolute file name for artifact destination
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Jan 24, 2018
1 parent 72157fe commit 3581e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nerves/artifact.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defmodule Nerves.Artifact do
path =
opts[:path]
|> Path.expand()
|> Path.join("/")
|> Path.join(download_name(pkg) <> ext(pkg))
if path != archive_path do
File.cp!(archive_path, path)
end
Expand Down

0 comments on commit 3581e81

Please sign in to comment.