6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u
authortbell
Wed, 21 Oct 2009 00:12:59 -0700
changeset 4153 c019b5df1bf5
parent 4152 bc36a9f01ac6
child 4154 afd948aaf965
6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u Reviewed-by: ohair, dcubed
jdk/test/com/sun/jdi/ShellScaffold.sh
--- a/jdk/test/com/sun/jdi/ShellScaffold.sh	Wed Oct 21 08:17:35 2009 +0800
+++ b/jdk/test/com/sun/jdi/ShellScaffold.sh	Wed Oct 21 00:12:59 2009 -0700
@@ -307,7 +307,7 @@
              #The alternative would be to use /usr/bin/pargs [pid] to get
              #all the args for a process, splice them back into one
              #long string, then grep.
-             UU=`/usr/bin/id -un`
+             UU=`/usr/xpg4/bin/id -u -n`
              psCmd="pgrep -f -l -U $UU"
          else
              ulimit -c 0