Permalink
Browse files

Do not bail out if tmp/pdfs already exists

  • Loading branch information...
1 parent 67f4056 commit 5968c95f222157ddfd435938fe9885408cbe6713 @BanzaiMan committed Jan 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 deploy/after_symlink.rb
View
@@ -2,5 +2,5 @@
require 'fileutils'
pdfdir = ["tmp", "pdfs"]
-FileUtils::mkdir File.join(shared_path, "pdfs")
-FileUtils::ln_sf File.join(shared_path, "pdfs"), File.join(release_path, pdfdir)
+FileUtils::mkdir_p File.join(shared_path, "pdfs")
+FileUtils::ln_sf File.join(shared_path, "pdfs"), File.join(release_path, pdfdir)

0 comments on commit 5968c95

Please sign in to comment.