mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-09 02:10:22 +08:00
Be tolerant if rm was not able to remove the test directory.
This commit is contained in:
parent
335e09466c
commit
1a74a211bc
@ -1,3 +1,9 @@
|
||||
2006-04-01 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
|
||||
* lib/autotest/general.m4: Be tolerant of existing directory when
|
||||
rm failed to remove it.
|
||||
|
||||
2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* bin/autoupdate.in: Redefine m4_location so that warnings print
|
||||
|
@ -699,7 +699,8 @@ do
|
||||
find $at_group_dir -type d ! -perm -700 -exec chmod u+rwx \{\} \;
|
||||
rm -fr $at_group_dir
|
||||
fi
|
||||
mkdir $at_group_dir ||
|
||||
# Be tolerant if the above `rm' was not able to remove the directory.
|
||||
AS_MKDIR_P([$at_group_dir]) ||
|
||||
AS_ERROR([cannot create $at_group_dir])
|
||||
cd $at_group_dir
|
||||
;;
|
||||
|
@ -940,7 +940,7 @@ m4_define([AS_MKDIR_P],
|
||||
as_dir=`AS_DIRNAME("$as_dir")`
|
||||
done
|
||||
test ! -n "$as_dirs" || mkdir $as_dirs
|
||||
fi || AS_ERROR([cannot create directory $1]); }
|
||||
fi || AS_ERROR([cannot create directory $1]); }dnl
|
||||
])# AS_MKDIR_P
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user