bin/dyn-yml in dyndoc-ruby-1.4.7 vs bin/dyn-yml in dyndoc-ruby-1.5.0
- old
+ new
@@ -154,18 +154,18 @@
# if dyntaskname
# puts dyntaskname
# dyntaskname += "_task.dyn" unless dyntaskname=~/_task.dyn$/
# dyntaskpath=dyntaskname
-# is_dyntask=File.exists? dyntaskpath
+# is_dyntask=File.exist? dyntaskpath
# unless is_dyntask
# dyntaskpath=File.join(ENV["HOME"],"dyndoc","tasks",dyntaskname)
-# is_dyntask=File.exists? dyntaskpath
+# is_dyntask=File.exist? dyntaskpath
# end
# unless is_dyntask
# share_path=File.expand_path("../../share", __FILE__)
# dyntaskpath=File.join(share_path,"dyntasks",dyntaskname)
-# is_dyntask=File.exists? dyntaskpath
+# is_dyntask=File.exist? dyntaskpath
# end
# if is_dyntask
# dynfile=docname+".dyn"
# FileUtils.cp dyntaskpath, dynfile
# $params=cfg_yml["params"]
\ No newline at end of file