[TOOLS] winecheck has still old environment syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Symptom:

  >>> Checking drive F settings:
  016.  Checking Path option...                               SUSPICIOUS (%HOME% does not exist !).
  - ADVICE: create this directory or point Path to a real directory.
  017.  Checking Type option...                               OK.
  --> PROBLEM.

Changelog:
  Adapted winecheck to use new environment variable syntax (ex. %HOME%).


  Michael

Index: tools/winecheck
===================================================================
RCS file: /home/wine/wine/tools/winecheck,v
retrieving revision 1.13
diff -d -u -r1.13 winecheck
--- tools/winecheck	4 Apr 2003 22:12:21 -0000	1.13
+++ tools/winecheck	19 Sep 2003 15:49:09 -0000
@@ -346,7 +346,7 @@
     $level = $serious ? $is_failed : $is_bad;
     $reason = "wrong Path format ".$path;
   }
-  elsif ($path =~ /\$\{(.*)\}$/)
+  elsif ($path =~ /\%(.*)\%$/)
   {
     # get path assigned to environment variable
     my $envpath = $ENV{$1};

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux