Permalink
Browse files

bad option for git - fixed

  • Loading branch information...
1 parent 789e4fb commit 12590c588f93bca17e9948855e9de64a4d6c3ccb @napcs committed Apr 22, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 tasks/nuke.rake
View
@@ -54,14 +54,14 @@ namespace :nuke do
def remove(file)
scm = if File.exist?(".svn")
- "svn"
+ "svn rm"
elsif File.exist?(".git")
- "git -r "
+ "git rm -r "
else
""
end
- rm_cmd = scm.blank? ? "rm -rf" : "#{scm} rm"
+ rm_cmd = scm.blank? ? "rm -rf" : "#{scm}"
puts `#{rm_cmd} #{file}`
end

0 comments on commit 12590c5

Please sign in to comment.