Skip to content

Commit

Permalink
Merged pull request holman#4 from mattswe/patch-1.
Browse files Browse the repository at this point in the history
support for files with '.' (i.e. tmux.conf.symlink)
  • Loading branch information
holman committed Apr 27, 2011
2 parents 1ff1400 + 799e8c0 commit 07c3840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -12,7 +12,7 @@ task :install do
overwrite = false
backup = false

file = linkable.split('/').last.split('.').first
file = linkable.split('/').last.split('.symlink')
target = "#{ENV["HOME"]}/.#{file}"

if File.exists?(target) || File.symlink?(target)
Expand Down

0 comments on commit 07c3840

Please sign in to comment.