Permalink
Browse files

Ruby's ln_s isn't supported in Windows or Cygwin, since sh is used el…

…sewhere, just use the ln -s to get it working in Cygwin.
  • Loading branch information...
amaltson committed Apr 6, 2011
1 parent 5fc3c72 commit 1eb45dca9c68ee2e6d5185304c637723a8d97e5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -231,7 +231,7 @@ task :link_vimrc do
%w[ vimrc gvimrc ].each do |file|
dest = File.expand_path("~/.#{file}")
unless File.exist?(dest)
- ln_s(File.expand_path("../#{file}", __FILE__), dest)
+ sh "ln -s " + File.expand_path("../#{file}", __FILE__) + " " + dest
end
end
end

0 comments on commit 1eb45dc

Please sign in to comment.