* bin/autom4te.in: Do not error out if another `autom4te'
instance created the cache directory before we could.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2009-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix concurrent autom4te.cache directory creation race.
+ * bin/autom4te.in: Do not error out if another `autom4te'
+ instance created the cache directory before we could.
+
2009-06-11 Steven G. Johnson <stevenj@alum.mit.edu>
and Eric Blake <ebb9@byu.net>
exit $exit_code;
}
-# We need our cache directory.
+# We need our cache directory. Don't fail with parallel creation.
if (! -d "$cache")
{
mkdir "$cache", 0755
+ or -d "$cache"
or fatal "cannot create $cache: $!";
}