Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

scm: change gunzip to tar -z option for scm repository setup in lib/t…

…asks/testing.rake.

Pipe does not work on Mingw Ruby.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4806 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information...
commit 911fbefb453ea4bfa41c60f14fc8d0b64cb0f7e2 1 parent dd798ed
@marutosi marutosi authored edavis10 committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/tasks/testing.rake
View
3  lib/tasks/testing.rake
@@ -51,7 +51,8 @@ namespace :test do
(supported_scms - [:subversion, :mercurial]).each do |scm|
desc "Creates a test #{scm} repository"
task scm => :create_dir do
- system "gunzip < test/fixtures/repositories/#{scm}_repository.tar.gz | tar -xv -C tmp/test"
+ # system "gunzip < test/fixtures/repositories/#{scm}_repository.tar.gz | tar -xv -C tmp/test"
+ system "tar -xvz -C tmp/test -f test/fixtures/repositories/#{scm}_repository.tar.gz"
end
end

0 comments on commit 911fbef

Please sign in to comment.
Something went wrong with that request. Please try again.