Expand source, destination, and plugin paths. Fixes #180.

This commit is contained in:
Tom Preston-Werner 2010-06-25 14:40:27 -07:00
parent 908526455c
commit 1c3fedbb31
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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