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

index 76cf0e06a72a71152c01ba55ad6cc4bdf4696b35..a9236e608c8273cf92cae44f341a826ede4d29a5 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 a7e1cd0a445664b1d1a16fe3370f6a102c1a0ed7..e28d0c3aa5b97e038a00f8f191d5d22b7b640824 100755 (executable)
@@ -410,7 +410,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