Index: compass.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/compass/compass.module,v
retrieving revision 1.1
diff -u -p -r1.1 compass.module
--- compass.module	13 Aug 2009 07:37:16 -0000	1.1
+++ compass.module	1 Aug 2010 18:17:27 -0000
@@ -241,8 +241,8 @@ function _compass_update($theme, &$outpu
   $args['update'] = getcwd() .'/'. dirname($theme->filename);
   $args['output_style'] = variable_get('compass_output_style', 'nested');
   $args['environment'] = variable_get('compass_environment', 'production');
-  if (variable_get('compass_relative_assets', FALSE) === TRUE) {
-    $args['relative_assets'] = variable_get('compass_relative_assets', FALSE);
+  if (variable_get('compass_relative_assets', FALSE) == TRUE) {
+    $args['relative_assets'] = '';
   }
   $command_args = '';
   foreach ($args as $key => $value) {
@@ -275,7 +275,7 @@ function _compass_exec($command_args, &$
     1 => array('pipe', 'w'), // stdout
     2 => array('pipe', 'w')  // stderr
   );
-  $h = proc_open($compass_path .' '. $command_args, $descriptors, $pipes, $_SERVER['DOCUMENT_ROOT']);
+  $h = proc_open($compass_path .' '. $command_args, $descriptors, $pipes, base_path());
   if ($h) {
     $output = '';
     while (!feof($pipes[1])) {
