diff rakefile @ 109:8ae65ae167f5

Updated swt win32 for DMD 1.063 and latest Tango trunk.
author Jacob Carlborg <doob@me.com>
date Wed, 15 Sep 2010 16:42:28 +0200
parents bbe49769ec18
children 9f4c18c268b2
line wrap: on
line diff
--- a/rakefile	Wed Aug 25 23:08:27 2010 +0200
+++ b/rakefile	Wed Sep 15 16:42:28 2010 +0200
@@ -10,7 +10,8 @@
 class String
     def to_path
         if isWindows
-            self.gsub( '/', '\\' );
+            #self.gsub( '/', '\\' ); # don't know why this doesn't work
+            self
         else
             self
         end
@@ -18,7 +19,7 @@
 end
 
 def isWindows
-    Config::CONFIG['host_os'] =~ /mswin/
+    Config::CONFIG['host_os'] =~ /mswin/ || Config::CONFIG['host_os'] =~ /mingw/
 end
 
 ##########################################################################