Skip to content
Browse files

Fix issue with parent directory references within the sass_path in th…

…e compass compiler.

Closes GH-409.
  • Loading branch information...
1 parent 432309d commit 539f206e51d34a35bbcec602e7a5d5ae21246a9e @chriseppstein chriseppstein committed Jul 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/compass/compiler.rb
View
2 lib/compass/compiler.rb
@@ -7,7 +7,7 @@ class Compiler
def initialize(working_path, from, to, options)
self.working_path = working_path.to_s
- self.from, self.to = from.gsub('./', ''), to
+ self.from, self.to = File.expand_path(from), to
self.logger = options.delete(:logger)
sass_opts = options.delete(:sass) || {}
self.options = options

0 comments on commit 539f206

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