Index: color.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/color/color.module,v
retrieving revision 1.3
diff -u -r1.3 color.module
--- color.module	29 Oct 2006 15:13:01 -0000	1.3
+++ color.module	17 Nov 2006 08:45:43 -0000
@@ -211,12 +211,13 @@
   // Prepare target locations for generated files
   $id = $theme .'-'. substr(md5(serialize($palette) . microtime()), 0, 8);
   $paths['color'] = variable_get('file_directory_path', 'files') .'/color';
-  $paths['target'] = $paths['color'] .'/'. $id .'/';
+  $paths['target'] = $paths['color'] .'/'. $id;
   foreach ($paths as $path) {
     if (!is_dir($path)) {
       mkdir($path);
     }
   }
+  $paths['target'] = $paths['target'] .'/';
   $paths['id'] = $id;
   $paths['source'] = drupal_get_path('theme', $theme) .'/';
   $paths['stylesheet'] = $paths['target'] .'style.css';
@@ -540,4 +541,4 @@
     $h /= 6;
   }
   return array($h, $s, $l);
-}
\ No newline at end of file
+}

