System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed in runnig the script

 
Binu_5
Regular Advisor

Help needed in runnig the script

Hi All

I need a help in debugging the script below

!/bin/sh
CURVIEW=`/usr/atria/bin/cleartool lsview -cview -s`
echo "view=$CURVIEW"
`/usr/atria/bin/cleartool startview $CURVIEW`
#cd /view/$CURVIEW/vobs/
/view/$CURVIEW/vobs/viking_build/setup psos tx8260
cd /vobs/viking_build/build/ome/tx8260/ppc/ecn
`/opt/vulcan/RHE-3/make/3.81beta3/bin/make`


But it fails to run ..The out put of the script is given below
++ /usr/atria/bin/cleartool lsview -cview -s
+ CURVIEW=oce_nandikr.14_view
+ echo view=oce_nandikr.14_view
view=oce_nandikr.14_view
++ /usr/atria/bin/cleartool startview oce_nandikr.14_view
+ /view/oce_nandikr.14_view/vobs/viking_build/setup psos tx8260
/view/oce_nandikr.14_view/vobs/viking_build/setup: line 33: /vobs/viking_build/build/ome/tx8260/ppc/ecn/equinox_ne_loadbuild/tools/setup.vk: No such file or directory
+ cd /vobs/viking_build/build/ome/tx8260/ppc/ecn
++ /opt/vulcan/RHE-3/make/3.81beta3/bin/make
Makefile:19: /vk.product.mk: No such file or directory
make: *** No rule to make target `/vk.product.mk'. Stop.

Thanks
-Binu
1 REPLY
Ivan Krastev
Honored Contributor

Re: Help needed in runnig the script

Check for presense of following files/dirs:
"/view/oce_nandikr.14_view/vobs/viking_build/setup: line 33: /vobs/viking_build/build/ome/tx8260/ppc/ecn/equinox_ne_loadbuild/tools/setup.vk: No such file or directory"


regards,
ivan