Permalink
Browse files

fix symlink to not override rake's

  • Loading branch information...
1 parent b0c241a commit b914b4fba67ad2a6ed768d854aec0a6bc6c349f0 @pairing pairing committed Mar 26, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Rakefile
View
@@ -5,7 +5,7 @@ desc "symlink all dot files and bin directory"
task :default do
files = Dir.glob('.*') - ['.git', '.gitmodules', '.', '..']
files << 'bin'
- symlink files
+ symlink_files files
# non-pairing machines should not symlink the .gitconfig
print "are you on an EdgeCase pairing machine? [yn] "
@@ -26,11 +26,11 @@ task :default do
end
# symlink the rails-bootstrap folder so the shell script can find it
- replace_file(File.join(File.dirname(__FILE__), "rails-bootstrap"))
+ replace_file("rails-bootstrap")
end
-def symlink(files)
+def symlink_files(files)
files.each do |file|
case
when file_identical?(file) then skip_identical_file(file)

0 comments on commit b914b4f

Please sign in to comment.