Author: faridz
Date: Wed Nov  1 04:06:43 2006
New Revision: 469881

URL: http://svn.apache.org/viewvc?view=rev&rev=469881
Log:
2006-11-01 Farid Zaripov <[EMAIL PROTECTED]>

        * configure.wsf (configure): try/catch'ed removing
        VS_UNICODE_OUTPUT environment variable 

Modified:
    incubator/stdcxx/trunk/etc/config/windows/configure.wsf

Modified: incubator/stdcxx/trunk/etc/config/windows/configure.wsf
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/configure.wsf?view=diff&rev=469881&r1=469880&r2=469881
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/configure.wsf (original)
+++ incubator/stdcxx/trunk/etc/config/windows/configure.wsf Wed Nov  1 04:06:43 
2006
@@ -191,8 +191,11 @@
 
     // remove VS_UNICODE_OUTPUT environment variable
     // http://blogs.msdn.com/freik/archive/2006/04/05/569025.aspx
-    WshShell.Environment("PROCESS").Remove("VS_UNICODE_OUTPUT");
-    
+    try
+    {
+        WshShell.Environment("PROCESS").Remove("VS_UNICODE_OUTPUT");
+    } catch (e) {}
+
     getCompilerOpts(WScript.Arguments.Named("SolutionName"));
     
     var confInfo = configs.get(WScript.Arguments.Named("ConfigurationName"));


Reply via email to