Skip to content

Commit

Permalink
Update Release.php
Browse files Browse the repository at this point in the history
Curl needs to follow redirects now.
  • Loading branch information
tamagokun committed Sep 16, 2014
1 parent 8f08e18 commit 506025b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pomander/Wordpress/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function deploy($env)
$cmd[] = "cd {$env->release_dir}";
$cmd[] = "mkdir -p $install_dir";
// download release
$cmd[] = "curl -s {$this->release_url()} > {$env->release_dir}/wordpress.tar";
$cmd[] = "curl -sL {$this->release_url()} > {$env->release_dir}/wordpress.tar";
// extract
if( $root_install ) {
$cmd[] = "tar --strip-components=1 -xzf {$env->release_dir}/wordpress.tar";
Expand Down

0 comments on commit 506025b

Please sign in to comment.