summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-11 00:34:16 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-11 00:34:16 +0000
commit54b28b0ad16ecbcb6652a7efdcc6329cf1c84c92 (patch)
tree3c042355943c6c79642ad95050dd02c21757cd48
parent73b81aed1c3c8fdc881a218a9639293e755cbf2a (diff)
downloadATCD-54b28b0ad16ecbcb6652a7efdcc6329cf1c84c92.tar.gz
Changed the procedure of getting the uid to be more generic
-rwxr-xr-xTAO/examples/Simulator/ss4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/Simulator/ss b/TAO/examples/Simulator/ss
index c2556b1dd77..5d5c02483f4 100755
--- a/TAO/examples/Simulator/ss
+++ b/TAO/examples/Simulator/ss
@@ -1,11 +1,11 @@
-#!/bin/ksh
+#!/bin/ksh
# $Id$
#saving old working dir
old_dir=$cwd
login=`whoami`
-uid=`id -u`
+uid=`id | cut -c5-20 | cut -f1 -d"("`
#### Set TAO_ROOT, if it wasn't set.
if [ ! "$TAO_ROOT" ]; then