ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cms-common.spec
(Generate patch)

Comparing COMP/CMSDIST/cms-common.spec (file contents):
Revision 1.7 by muzaffar, Tue Feb 5 15:51:59 2008 UTC vs.
Revision 1.8 by muzaffar, Tue Feb 5 17:36:37 2008 UTC

# Line 171 | Line 171 | if [ "X$SCRAM_VERSION" = "X" ] ; then
171      fi
172    fi
173   else
174 +   if [ "X$SCRAM_VERSION" = "XV1_0_3-p1" ] ; then
175 +     if [ "X$CMSARCH" = "Xslc4_ia32_gcc345" ] ; then
176 +       SCRAM_VERSION=V1_0_3-p2
177 +     fi
178 +   fi
179     sver=$SCRAM_VERSION
180   fi
181   scmd=scram
# Line 179 | Line 184 | case $sver in
184    V1_0* ) srbase=lcg/SCRAMV1/${sver}; scmd=scramv1;;
185    * ) srbase=lcg/SCRAMV1/${sver};;
186   esac
187 + if [ ! -f %{instroot}/$CMSARCH/${srbase}/etc/profile.d/init.sh ] ; then
188 +  echo "Unable to find SCRAM version $sver for $CMSARCH architecture."
189 +  exit 1
190 + fi
191   source %{instroot}/$CMSARCH/${srbase}/etc/profile.d/init.sh
192   # In the case we are on linux ia32 we prepend the linux32 command to the
193   # actual scram command so that, no matter where the ia32 architecture is

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines