Skip to content

Commit

Permalink
Merge pull request apache#48 from SimonDanisch/patch-1
Browse files Browse the repository at this point in the history
use download instead of wget
  • Loading branch information
pluskid committed Dec 5, 2015
2 parents aa1b600 + b513898 commit 8d3a9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ function get_mnist_ubyte()
filenames = [k => joinpath(mnist_dir, v) for (k,v) in filenames]
if !all(isfile, values(filenames))
cd(mnist_dir) do
run(`wget http://webdocs.cs.ualberta.ca/~bx3/data/mnist.zip`)
run(`unzip -u mnist.zip`)
mnist_dir = download("http://webdocs.cs.ualberta.ca/~bx3/data/mnist.zip", "mnist.zip")
run(`unzip -u $mnist_dir`)
end
end
return filenames
Expand Down

0 comments on commit 8d3a9a0

Please sign in to comment.