Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
follow redirects when downloading new version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcarpenter committed Oct 10, 2014
1 parent d2ac0e6 commit 5cd2857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ namespace :wordpress do

desc "download the latest wordpress and load it in place"
task :update_core do
`curl -0 http://wordpress.org/latest.tar.gz > latest.tar.gz && mv public/blog wordpress && tar xvfz latest.tar.gz wordpress && mv wordpress public/blog && rm latest.tar.gz`
`curl -L -0 http://wordpress.org/latest.tar.gz > latest.tar.gz && mv public/blog wordpress && tar xvfz latest.tar.gz wordpress && mv wordpress public/blog && rm latest.tar.gz`
end
end
end

0 comments on commit 5cd2857

Please sign in to comment.