script/plugin install should remove .gitignore too. [#1306 state:resolved] [Esad Hajdarevic]

This commit is contained in:
Pratik Naik 2009-03-06 17:22:52 +00:00
parent 6a13376525
commit 8bc0f90d6d
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@ class Plugin
base_cmd += " #{options[:revision]}" if options[:revision]
puts base_cmd if $verbose
if system(base_cmd)
puts "removing: .git" if $verbose
rm_rf ".git"
puts "removing: .git .gitignore" if $verbose
rm_rf %w(.git .gitignore)
else
rm_rf install_path
end