From f9715e0bff0867b362d160ed8d9927fbf706664f Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 2 Sep 2000 22:35:07 +0000 Subject: [PATCH] * ltconfig.in: only load $cache_file if it's a regular file --- ChangeLog | 4 ++++ ltconfig.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7917dd483..0e1fa4258 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-02 Pavel Roskin + + * ltconfig.in: only load $cache_file if it's a regular file + 2000-09-02 Assar Westerlund * ltconfig.in: Add back ranlib calls for static libraries if there diff --git a/ltconfig.in b/ltconfig.in index 5fb71a7ff..05ed76396 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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 -- 2.47.3