Skip to content
Browse files

link directories with trailing slashes in names.

tricky directories.
  • Loading branch information...
1 parent ee07db8 commit 2ee21202dec076bc930052d0f006ac18ba591c48 @knowuh knowuh committed Mar 27, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 deploy.rb
View
8 deploy.rb
@@ -45,16 +45,16 @@ def doit(command)
# symlink top level files for convinience:
doit %[ln -sf #{RELEASE_DIR}/#{APP_NAME}/en/#{COMMIT_HASH}/index.html #{RELEASE_DIR}/#{APP_NAME}/index.html]
doit %[ln -sf #{RELEASE_DIR}/#{APP_NAME}/index.html #{RELEASE_DIR}/index.html]
-doit %[ln -sf #{RELEASE_DIR}/#{APP_NAME}/authoring #{RELEASE_DIR}/authoring]
+doit %[ln -sf #{RELEASE_DIR}/#{APP_NAME}/authoring/ #{RELEASE_DIR}/authoring]
# link to current release:
doit %[ln -sf #{RELEASE_DIR} #{PROJECT_DIR}/#{APP_NAME}/current]
# convinience links:
doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/current/index.html #{PROJECT_DIR}/#{APP_NAME}/index.html]
-doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/current/authoring #{PROJECT_DIR}/#{APP_NAME}/authoring]
-doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/current #{PROJECT_DIR}/#{APP_NAME}/#{APP_NAME}]
-doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/authoring #{PROJECT_DIR}/authoring]
+doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/current/authoring/ #{PROJECT_DIR}/#{APP_NAME}/authoring]
+doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/current/ #{PROJECT_DIR}/#{APP_NAME}/#{APP_NAME}]
+doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/authoring/ #{PROJECT_DIR}/authoring]
doit %[ln -sf #{PROJECT_DIR}/#{APP_NAME}/index.html #{PROJECT_DIR}/index.html]
# TODO: Maybe Actually delete old checkouts?

0 comments on commit 2ee2120

Please sign in to comment.
Something went wrong with that request. Please try again.