From 7b2c0455589ac57c11af3ac5e4838d02928c2f86 Mon Sep 17 00:00:00 2001 From: Lars Kanis <kanis@comcard.de> Date: Fri, 9 Mar 2012 08:43:39 +0100 Subject: [PATCH] better naming of FileUtils::cd --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 05c89d7..4ca70b0 100755 --- a/Rakefile +++ b/Rakefile @@ -7,10 +7,10 @@ load 'Rakefile.cross' # Use forked process for chdir'ed environment, to allow parallel execution with drake module FileUtils - alias old_fileutils_cd cd + alias unforked_fileutils_cd cd def cd(dir, options={}, &block) - raise "forked_chdir called without block" unless block_given? - Process.waitpid(fork{ old_fileutils_cd(dir, options, &block) }) + raise "chdir called without block" unless block_given? + Process.waitpid(fork{ unforked_fileutils_cd(dir, options, &block) }) end module_function :cd alias chdir cd -- GitLab