texinfo-commits
[Top][All Lists]
Advanced

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

[5575] * tp/texi2any.pl: put installation directory last in @INC,


From: Patrice Dumas
Subject: [5575] * tp/texi2any.pl: put installation directory last in @INC,
Date: Sun, 18 May 2014 13:10:56 +0000

Revision: 5575
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5575
Author:   pertusus
Date:     2014-05-18 13:10:55 +0000 (Sun, 18 May 2014)
Log Message:
-----------
        * tp/texi2any.pl: put installation directory last in @INC,
        in order to have -I perl arguments take precedence.  Report
        from Aharon Robbins.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/texi2any.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-05-18 12:54:02 UTC (rev 5574)
+++ trunk/ChangeLog     2014-05-18 13:10:55 UTC (rev 5575)
@@ -6,6 +6,9 @@
        for stdout.
        * install-info/tests/Makefile.am (EXTRA_DIST): use 
        the correct file ii-0054-input-info-file.gz.
+       * tp/texi2any.pl: put installation directory last in @INC,
+       in order to have -I perl arguments take precedence.  Report
+       from Aharon Robbins.
 
 2014-05-17  Gavin Smith  <address@hidden>
 

Modified: trunk/tp/texi2any.pl
===================================================================
--- trunk/tp/texi2any.pl        2014-05-18 12:54:02 UTC (rev 5574)
+++ trunk/tp/texi2any.pl        2014-05-18 13:10:55 UTC (rev 5575)
@@ -79,7 +79,13 @@
                                           'share', 'texinfo');
     }
     $lib_dir = $texinfolibdir;
-    unshift @INC, $texinfolibdir;
+    #unshift @INC, $texinfolibdir;
+    # the directory where modules are searched for is placed last
+    # in @INC, as we do not want to take precedence over perl -I 
+    # arguments.  It unfortunatly means that system directories are 
+    # searched for before the installation directories.  This could
+    # cause trouble if the modules are separately installed.
+    push @INC, $texinfolibdir;
   }
 
   # '@USE_EXTERNAL_LIBINTL @ and similar are substituted in the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]