Ensuring that the new_octo_dir will not exist by appending date

This commit is contained in:
Parker Moore 2013-01-06 00:50:43 -05:00
parent 7ffb9ed874
commit 9ec32e8f80
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ require "yaml"
LOCAL_OCTOPRESS_INSTALLATION = Dir.pwd
OCTO_GIT = "https://github.com/imathis/octopress.git"
NEW_OCTO = File.join(File.dirname(LOCAL_OCTOPRESS_INSTALLATION), "new-octopress")
NEW_OCTO = File.join(File.dirname(LOCAL_OCTOPRESS_INSTALLATION), ["octopress", Time.now.year, Time.now.month, Time.now.day].join('-'))
OCTO_CONFIG_GIT = "https://github.com/octopress/sample-octopress-configuration"
OCTO_CONFIG_DEST = File.join(NEW_OCTO, "_config")