]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: only load $cache_file if it's a regular file
authorPavel Roskin <proski@gnu.org>
Sat, 2 Sep 2000 22:38:00 +0000 (22:38 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:38:00 +0000 (22:38 +0000)
ChangeLog
ltconfig.in

index 321325b116ba79d32a12b224d5612dd0a2ab95e0..051cc12258d7734012a054f10312b9b4fa84181d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-02  Pavel Roskin <proski@gnu.org>
+
+       * ltconfig.in: only load $cache_file if it's a regular file
+
 2000-08-01  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * ltmain.in (shtool): Use echo|grep instead of expr, as in the
index 4ac414d684071a8d56cc0bb6ab9f76cb86e87357..3bdc93007f4789cd5d1e76570929fe3079cb434a 100755 (executable)
@@ -372,7 +372,7 @@ exec 5>>./config.log
 if test "X${LC_ALL+set}" = Xset; then LC_ALL=C; export LC_ALL; fi
 if test "X${LANG+set}"   = Xset; then LANG=C;   export LANG;   fi
 
-if test -n "$cache_file" && test -r "$cache_file"; then
+if test -n "$cache_file" && test -r "$cache_file" && test -f "$cache_file"; then
   echo "loading cache $cache_file within ltconfig"
   . $cache_file
 fi