18 |
|
compilerv=gcc323 |
19 |
|
# We need to assume 1 compiler per platform. |
20 |
|
# There is no other way around this. |
21 |
< |
if [! $SCRAM_ARCH ] |
21 |
> |
if [ ! "$SCRAM_ARCH" ] |
22 |
|
then |
23 |
|
case $osarch in |
24 |
|
slc3_ia32) compilerv=gcc323;; |
25 |
|
slc3_amd64) compilerv=gcc344;; |
26 |
|
slc4_ia32) compilerv=gcc345;; |
27 |
< |
slc4_amd64) compilerv=gcc345;; |
28 |
< |
osx104_ia32) compilerv=gcc400;; |
27 |
> |
slc4_amd64) compilerv=gcc345; osarch=slc4_ia32;; |
28 |
> |
osx104_ia32) compilerv=gcc401;; |
29 |
|
osx104_pcc32) compilerv=gcc400;; |
30 |
|
esac |
31 |
|
echo ${osarch}_${compilerv} |
73 |
|
then |
74 |
|
export CMS_PATH=$here |
75 |
|
fi |
76 |
+ |
|
77 |
+ |
if [ -f $CMS_PATH/SITECONF/local/JobConfig/cmsset_local.sh ]; then |
78 |
+ |
. $CMS_PATH/SITECONF/local/JobConfig/cmsset_local.sh |
79 |
+ |
fi |
80 |
|
EOF_CMSSET_DEFAULT_SH |
81 |
|
|
82 |
|
|
116 |
|
if ( ! ${?CMS_PATH} ) then |
117 |
|
setenv CMS_PATH $here |
118 |
|
endif |
119 |
+ |
|
120 |
+ |
if( -e $CMS_PATH/SITECONF/local/JobConfig/cmsset_local.csh ) then |
121 |
+ |
source $CMS_PATH/SITECONF/local/JobConfig/cmsset_local.csh |
122 |
+ |
endif |
123 |
|
unset here |
124 |
|
EOF_CMSSET_DEFAULT_CSH |
125 |
|
touch %instroot/%cmsplatf/etc/profile.d/dummy |