diff --git a/Rakefile b/Rakefile index 05c89d7d029988ce5f074d42de1087606e879f1c..4ca70b0af4ce7e1fcd3141dfc3b2a263137bb249 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