[ditz-talk] [PATCH] `ditz init` was trying to save the bugs dir, should be bugs/project.yaml

Jeff Balogh its.jeff.balogh at gmail.com
Fri Apr 11 01:06:12 EDT 2008


---
 bin/ditz |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/bin/ditz b/bin/ditz
index ee52b15..c82f106 100755
--- a/bin/ditz
+++ b/bin/ditz
@@ -24,8 +24,9 @@ case cmd # some special cases not handled by Ditz::Operator
 when "init"
   die "#{dir} directory already exists" if File.exists? dir
   FileUtils.mkdir dir
+  fn = File.join dir, PROJECT_FN
   project = op.init
-  project.save! dir
+  project.save! fn
   puts "Ok, #{dir} directory created successfully."
   exit
 when "help"
-- 
1.5.5




More information about the ditz-talk mailing list