/[PAMELA software]/PamVMC_update/scripts/pam_env.sh
ViewVC logotype

Annotation of /PamVMC_update/scripts/pam_env.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Tue Oct 15 15:51:34 2013 UTC (11 years, 1 month ago) by formato
Branch point for: MAIN, rel
File MIME type: application/x-sh
Initial revision

1 formato 1.1 case $1 in
2     dev)
3     export PAM_VER=dev/20080415
4     echo DEV Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
5     ;;
6     pro)
7     export PAM_VER=pro
8     echo PRO Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
9     ;;
10     new)
11     export PAM_VER=new
12     echo NEW Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
13     ;;
14     old)
15     export PAM_VER=old
16     echo OLD Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
17     ;;
18     *)
19     export PAM_VER=pro
20     echo Version of PAMELA Software not specified. Setting PAM_VER to default $PAM_VER
21    
22     esac
23    
24     export PAMELA_INSTALLED=/home/pamela/pamela_software
25     export PAMELA_SOFTWARE=$PAMELA_INSTALLED/$PAM_VER
26     export PAMELA_DATA=/data1/pamela/data/level2/$PAM_VER
27    
28     export PAM_BIN=$PAMELA_SOFTWARE/bin
29     export PAM_LIB=$PAMELA_SOFTWARE/lib
30     export PAM_SRC=$PAMELA_SOFTWARE/src
31     export PAM_INC=$PAMELA_SOFTWARE/inc
32     export PAM_DOC=$PAMELA_SOFTWARE/docs
33     export PAM_MACROS=$PAMELA_SOFTWARE/macros
34     export PAM_CALIB=$PAMELA_SOFTWARE/calib
35     export PAM_YODA=$PAMELA_SOFTWARE
36     #export PAM_DBHOST=mysql://localhost/pamelatmp?socket=`mysql_config --socket`
37     export PAM_DBUSER=pamelaprod_ro
38    
39     #export ANT_HOME=$PAMELA_INSTALLED/apache-ant-1.6.5
40     #export JAVA_HOME=$PAMELA_INSTALLED/jdk1.5.0_07
41    
42     fs sys | grep i386_linux24
43     if [ $? -eq 0 ]
44     then
45     # export LINUX_DISTRO=slc3_ia32_gcc323
46     export LINUX_DISTRO=slc3_ia32_gcc344
47     fi
48    
49     fs sys | grep i386_linux26
50     if [ $? -eq 0 ]
51     then
52     export LINUX_DISTRO=slc4_ia32_gcc345
53     fi
54    
55     export LD_LIBRARY_PATH=$PAM_LIB:$LD_LIBRARY_PATH
56     export PATH=$PAM_BIN:$PATH

  ViewVC Help
Powered by ViewVC 1.1.23