From 1c3fedbb315ca6e227be5f9be1be8bd0d19f5273 Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Fri, 25 Jun 2010 14:40:27 -0700 Subject: [PATCH] Expand source, destination, and plugin paths. Fixes #180. --- History.txt | 1 + lib/jekyll/site.rb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/History.txt b/History.txt index a4e2571e..001eb800 100644 --- a/History.txt +++ b/History.txt @@ -2,6 +2,7 @@ * Bug Fixes * Fix Rakefile 'release' task (tag pushing was missing origin) * Ensure that RedCloth is loaded when textilize filter is used (#183) + * Expand source, destination, and plugin paths (#180) == 0.6.1 * Bug Fixes diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index eeef004a..7570cb0b 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -14,9 +14,9 @@ module Jekyll self.config = config.clone self.safe = config['safe'] - self.source = config['source'] - self.dest = config['destination'] - self.plugins = config['plugins'] + self.source = File.expand_path(config['source']) + self.dest = File.expand_path(config['destination']) + self.plugins = File.expand_path(config['plugins']) self.lsi = config['lsi'] self.pygments = config['pygments'] self.permalink_style = config['permalink'].to_sym