7 |
|
|
8 |
|
mkdir -p %instroot/common %instroot/bin %{instroot}/%{cmsplatf}/etc/profile.d |
9 |
|
|
10 |
< |
# Do not create these common files if already exist |
10 |
> |
# Do not create these common files if already exist |
11 |
|
# This is to avoid different arch creating these files |
12 |
|
if [ ! -f %instroot/common/.cms-common ]; then |
13 |
|
install -m 755 %_sourcedir/cmsos %instroot/common/cmsos |
157 |
|
done |
158 |
|
if [ -f ${dir}/config/scram_version ] ; then |
159 |
|
ver=`cat ${dir}/config/scram_version` |
160 |
+ |
if [ "X$ver" = "XV1_0_3-p1" ] ; then |
161 |
+ |
if [ "X$CMSARCH" = "Xslc4_ia32_gcc345" ] ; then |
162 |
+ |
ver=V1_0_3-p2 |
163 |
+ |
fi |
164 |
+ |
fi |
165 |
|
case $ver in |
166 |
|
V0_* ) srbase=lcg/SCRAM/${ver};; |
167 |
|
* ) srbase=lcg/SCRAMV1/${ver};; |