Przeglądaj źródła

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

Morten Brix Pedersen 21 lat temu
rodzic
commit
c4b4301c7f
2 zmienionych plików z 3 dodań i 1 usunięć
  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).
    * Inhibit warning in _mostreferencednicks when a nick is referenced
      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
    Changes by Christoph Berg:

+ 1 - 1
pisg

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