lib/octopress-ink.rb in octopress-ink-1.0.0.rc.37 vs lib/octopress-ink.rb in octopress-ink-1.0.0.rc.38
- old
+ new
@@ -163,10 +163,10 @@
full_path = File.join(Dir.pwd, path)
if !Dir["#{full_path}/*"].empty? && options['force'].nil?
abort "Error: directory #{path} is not empty. Use --force to overwrite files."
end
else
- full_path = File.join(Dir.pwd, Plugins.custom_dir, name)
+ full_path = File.join(Plugins.custom_dir, name)
end
full_path
end