mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
1999-02-10 Tom Tromey <tromey@cygnus.com>
* acgeneral.m4 (AC_CACHE_LOAD): Avoid sourcing special files. Works around bug in some versions of bash.
This commit is contained in:
parent
99759c687a
commit
67d8e848ec
@ -1032,7 +1032,9 @@ dnl AC_CACHE_LOAD()
|
||||
define(AC_CACHE_LOAD,
|
||||
[if test -r "$cache_file"; then
|
||||
echo "loading cache $cache_file"
|
||||
. $cache_file
|
||||
dnl Some versions of bash will fail to source /dev/null, so we
|
||||
dnl avoid doing that.
|
||||
test -f "$cache_file" && . $cache_file
|
||||
else
|
||||
echo "creating cache $cache_file"
|
||||
> $cache_file
|
||||
|
@ -1032,7 +1032,9 @@ dnl AC_CACHE_LOAD()
|
||||
define(AC_CACHE_LOAD,
|
||||
[if test -r "$cache_file"; then
|
||||
echo "loading cache $cache_file"
|
||||
. $cache_file
|
||||
dnl Some versions of bash will fail to source /dev/null, so we
|
||||
dnl avoid doing that.
|
||||
test -f "$cache_file" && . $cache_file
|
||||
else
|
||||
echo "creating cache $cache_file"
|
||||
> $cache_file
|
||||
|
Loading…
Reference in New Issue
Block a user