(FETISH_GROUP): Renamed from COREUTILS_GROUP.

This commit is contained in:
Paul Eggert committed 2005-04-18 23:33:29 +00:00
1 parent a57516e20f
commit 9f79304ead
1 file changed
+2 -2
+2 -2
View File
@@ -32,11 +32,11 @@ mkdir d || framework_failure=1
chmod g+s d 2> /dev/null ||
{
# This is required because on some systems (at least NetBSD 1.4.2A),
# This is required because on some systems (at least NetBSD 1.4.2A),
# it may happen that when you create a directory, its group isn't one
# to which you belong. When that happens, the above chmod fails. So
# here, upon failure, we try to set the group, then rerun the chmod command.
group=${FETISH_GROUP-`(id -ng || /usr/xpg4/bin/id -ng) 2>/dev/null`}
group=${COREUTILS_GROUP-`(id -ng || /usr/xpg4/bin/id -ng) 2>/dev/null`}
if test "$group"; then
chgrp "$group" d || framework_failure=1
chmod g+s d || framework_failure=1