changeset 1787:b0433598e26d

6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u Reviewed-by: ohair, dcubed
author tbell
date Wed, 21 Oct 2009 00:12:59 -0700
parents 0d7c64c023c6
children 5ab37d9d9260
files test/com/sun/jdi/ShellScaffold.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/jdi/ShellScaffold.sh	Wed Oct 21 08:17:35 2009 +0800
+++ b/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