projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0489d
)
Try /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.
author
Jim Meyering
<jim@meyering.net>
Fri, 29 Dec 2000 08:58:25 +0000
(08:58 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 29 Dec 2000 08:58:25 +0000
(08:58 +0000)
tests/group-names
patch
|
blob
|
history
diff --git
a/tests/group-names
b/tests/group-names
index
ee1e5b9
..
94a7f79
100644
(file)
--- a/
tests/group-names
+++ b/
tests/group-names
@@
-2,7
+2,7
@@
# Set `groups' to a space-separated list of at least two groups of which
# the user is a member.
-groups=${FETISH_GROUPS-`
id -nG
2>/dev/null`}
+groups=${FETISH_GROUPS-`
(id -nG || /usr/xpg4/bin/id -nG)
2>/dev/null`}
case "$groups" in
*' '*) ;;
*) cat <<EOF 1>&2