<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,11 +13,15 @@ class SassEngine
 private
   def compile!
     command = options.empty? ? &quot;cat&quot; : &quot;tail -n +2&quot;
-    Kernel.system(&quot;#{command} #{@filename} | sass #{flags} -s &gt; #{output_filename}&quot;)
+    Kernel.system(&quot;#{command} #{escape(@filename)} | sass #{flags} -s &gt; #{escape(output_filename)}&quot;)
   end
   
-  def preview!    
-    Kernel.system(&quot;open -g #{preview_filename}&quot;) if process_status.exitstatus.zero? &amp;&amp; preview_filename
+  def preview!
+    Kernel.system(&quot;open -g #{escape(preview_filename)}&quot;) if process_status.exitstatus.zero? &amp;&amp; preview_filename
+  end
+  
+  def escape(s)
+    &quot;\&quot;#{s.gsub('&quot;', '\&quot;')}\&quot;&quot;
   end
   
   def process_status</diff>
      <filename>Support/lib/sass_engine.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7c2e89f9113d26f8c6bec4b47c5158844f5f3755</id>
    </parent>
  </parents>
  <author>
    <name>Colin</name>
    <email>colin@things.be</email>
  </author>
  <url>http://github.com/aussiegeek/ruby-sass-tmbundle/commit/2e7f37e79c515dc538ca9190333b7af6cc978295</url>
  <id>2e7f37e79c515dc538ca9190333b7af6cc978295</id>
  <committed-date>2009-07-07T15:16:50-07:00</committed-date>
  <authored-date>2009-07-07T15:16:50-07:00</authored-date>
  <message>Escape path/file names so the compile command works when spaces are present in them.</message>
  <tree>021e4f8b33d5772adde50a7b030eebe012745e4e</tree>
  <committer>
    <name>Colin</name>
    <email>colin@things.be</email>
  </committer>
</commit>
