Explorar el Código

* Choose locally-installed pisg versions ahead of system-installed pisg
versions. (thanks, Bruce W. Murphy)

Morten Brix Pedersen hace 21 años
padre
commit
c4b4301c7f
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 2 0
      docs/Changelog
  2. 1 1
      pisg

+ 2 - 0
docs/Changelog

@@ -7,6 +7,8 @@ pisg (0.63) - ??
    * Updated some German strings (thanks, Igge).
    * Updated some German strings (thanks, Igge).
    * Inhibit warning in _mostreferencednicks when a nick is referenced
    * Inhibit warning in _mostreferencednicks when a nick is referenced
      before being used first.
      before being used first.
+   * Choose locally-installed pisg versions ahead of system-installed pisg
+   versions. (thanks, Bruce W. Murphy)
 
 
 pisg (0.62) - Sat Dec, 11th 2004
 pisg (0.62) - Sat Dec, 11th 2004
    Changes by Christoph Berg:
    Changes by Christoph Berg:

+ 1 - 1
pisg

@@ -35,7 +35,7 @@ sub main
     }
     }
 
 
     my $cfg = get_cmdline_options($script_dir);
     my $cfg = get_cmdline_options($script_dir);
-    push(@INC, $cfg->{modules_dir});
+    unshift(@INC, $cfg->{modules_dir});
 
 
     my $version;
     my $version;
     if ($cfg->{version}) {
     if ($cfg->{version}) {