Просмотр исходного кода

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

Morten Brix Pedersen 21 лет назад
Родитель
Сommit
c4b4301c7f
2 измененных файлов с 3 добавлено и 1 удалено
  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}) {