From: Toshi MARUYAMA Date: Fri, 11 Feb 2011 15:30:45 +0000 (+0000) Subject: scm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing... X-Git-Tag: 1.2.0~1011 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6aaf5db1e622575b242b78508680bb9687937c09;p=redmine.git scm: change gunzip to tar -z option for scm repository setup in lib/tasks/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 --- diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 1f43a1156..266dcf9ca 100644 --- a/lib/tasks/testing.rake +++ b/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