<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>I have a question regarding setting of environment variables.  I am using a bash shell. OpenSuse 11.2<br><br>I am attempting to run a script to install some software.  Limited documentation explains as follows.<br><br>3.To run Comet-Design on a Unix platform,execute the comet design script located in the $COMETDESIGNDIR/bin directory. If $COMETDESIGNDIR/bin<br>was added to the current search path,then just enter“cometdesign”at the command prompt.<br><br>Commands run using sudo<br><br>Software directory (cometdesign_3.20.03) copied to: home/user/bin/ <br><br>cometdesign_3.20.03/bin contain the script to run the program<br><br>I added the variable name is $COMETDESIGNDIR using the set command.  I tried setting the value to /home/user/bin/cometdesign_3.20.03/bin<br><br>echo
 $COMETDESIGNDIR  command shows no value???<br><br>I added /home/user/bin/cometdesign_3.20.03/bin to the $PATH variable which worked successfully<br><br>I execute the shell script using ./cometdesign ,which is the name of the script<br><br>However when I run the script I get this message.<br><br>"Environment Variable has not been set"<br><br>Question #1: How can I verify the new variable has been added correctly?  I tried using the env command without much success.<br><br>Question #2: Do I need to assign the value of $COMETDESIGNDIR equal to the $PATH variable to get the script to run?<br><br>Some help and pointers with the correct syntax would be greatly appreciated.<br><br>Thanks<br><br>Jon<br><br><br><br><br><br><br><br><br><br><br></div>
</div></body></html>