pychecker (for flymake, specifically)

modify install.rb to special case ~/bin
This commit is contained in:
2011-04-19 17:58:48 -04:00
parent fdb9d238bc
commit 18f00d485a
3 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,8 @@ home = File.expand_path('~')
Dir['*'].each do |file|
next if file =~ /install/ || file =~ /README/
target = File.join(home, ".#{file}")
target_name = file == 'bin' ? file : ".#{file}"
target = File.join(home, target_name)
unless File.exist? target
`ln -vsf #{File.expand_path file} #{target}`
else