[software-management-guide] Rakefile adjusted not to change working directory

Guillermo Gómez gomix at fedoraproject.org
Tue Mar 26 18:28:51 UTC 2013


commit fb1c081ada12d8be5fc31f39009b986fc4ba66f1
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Tue Mar 26 13:55:52 2013 -0430

    Rakefile adjusted not to change working directory

 Rakefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Rakefile b/Rakefile
index 8c3a9ed..6d20992 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,7 @@
 # encoding: utf-8
 #
-Dir::chdir("#{File.dirname(__FILE__)}/lib/tasks")
-Dir::glob("*.rake") { |file|  Rake.load_rakefile(file) }
+Dir::chdir("#{File.dirname(__FILE__)}/lib/tasks") do
+  Dir::glob("*.rake") { |file|  Rake.load_rakefile(file) }
+end
 
 #task :default => 'html'


More information about the docs-commits mailing list