]> 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:35:07 +0000 (22:35 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:35:07 +0000 (22:35 +0000)
ChangeLog
ltconfig.in

index 7917dd4832b479193f9313a3a93a39ae42943e39..0e1fa425896cc00897f7a541dcabe89576ba46b5 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-09-02  Assar Westerlund  <assar@sics.se>
 
        * ltconfig.in: Add back ranlib calls for static libraries if there
index 5fb71a7ff181e1d77a354583458f316b237d68ed..05ed76396d42d50d83ad133d4e145914fde6071d 100755 (executable)
@@ -483,7 +483,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