Mercurial > projects > dwt-linux
diff dwt/dwthelper/System.d @ 360:ee1dd551f5b1
Make compilable for tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 20 Mar 2009 20:30:32 +0100 |
parents | 59b54fea05d0 |
children |
line wrap: on
line diff
--- a/dwt/dwthelper/System.d Tue Jan 27 10:15:27 2009 +0100 +++ b/dwt/dwthelper/System.d Fri Mar 20 20:30:32 2009 +0100 @@ -158,9 +158,7 @@ public static String getProperty( String key ){ /* get values for global system keys (environment) */ switch( key ) { - // Ubuntu Gutsy:Environment.get for OSTYPE is not working - // Force default to "linux" for now -JJR - case "os.name": return Environment.get("OSTYPE","linux"); + case "os.name": return "linux";// Environment.get("OSTYPE"); case "user.name": return Environment.get("USER"); case "user.home": return Environment.get("HOME"); case "user.dir" : return Environment.get("PWD");