diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-15 00:48:46 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-15 00:48:46 +0000 |
commit | bc79904e4e51fca6dc687f297e5b77fcc161f242 (patch) | |
tree | a65882fd4882d2a2e50abc246a6cd559f82c1611 | |
parent | ffc111bd2335f7c98907faaa73ba646a820dac29 (diff) | |
download | redmine-bc79904e4e51fca6dc687f297e5b77fcc161f242.tar.gz redmine-bc79904e4e51fca6dc687f297e5b77fcc161f242.zip |
Merged r4806 from trunk.1.1-stable
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/branches/1.1-stable@6271 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/testing.rake | 3 |
1 files changed, 2 insertions, 1 deletions
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
|