From 67ff5b8e6134140ba91e6d28c1d13fec8f3be883 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 9 Feb 2006 13:07:55 +0000 Subject: [PATCH] To extract number of the port in more correct way --- bin/runNS.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runNS.sh b/bin/runNS.sh index b5c155a6c..589d2db50 100755 --- a/bin/runNS.sh +++ b/bin/runNS.sh @@ -18,7 +18,7 @@ touch ${BaseDir}/logs/${Username}/dummy echo "Name Service... " aSedCommand="s/.*NameService=corbaname::`hostname`:\([[:digit:]]*\)/\1/" -aPort=`sed -e"$aSedCommand" $OMNIORB_CONFIG` +aPort=`cat $OMNIORB_CONFIG | grep NameService | sed -e"$aSedCommand"` omniNames -start $aPort -logdir ${BaseDir}/logs/${Username} & # In LifeCycleCORBA, FactoryServer is started with rsh on the requested -- 2.39.2