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.1 by muzaffar, Tue Jan 1 11:03:59 2008 UTC vs.
Revision 1.3 by elmer, Thu Jan 24 09:29:26 2008 UTC

# Line 175 | Line 175 | case $sver in
175    * ) srbase=lcg/SCRAMV1/${sver};;
176   esac
177   source %{instroot}/$CMSARCH/${srbase}/etc/profile.d/init.sh
178 < # In the case we are on ia32 we prepend the linux32 command to the actual
179 < # scram command so that, no matter where the ia32 architecture is running
180 < # (i686 or x84_64) scram detects it as ia32.
178 > # In the case we are on linux ia32 we prepend the linux32 command to the
179 > # actual scram command so that, no matter where the ia32 architecture is
180 > # running (i686 or x84_64) scram detects it as ia32.
181   CMSPLAT=`echo $CMSARCH | cut -d_ -f 2`
182 < if [ "$CMSPLAT" = "ia32" ]
183 < then
184 <    USE_LINUX32=linux32
185 < else
186 <    USE_LINUX32=
182 > USE_LINUX32=
183 > if [ `uname` == Linux ]; then
184 >  if [ "$CMSPLAT" = "ia32" ]
185 >  then
186 >      USE_LINUX32=linux32
187 >  fi
188   fi
189   $USE_LINUX32 %{instroot}/$CMSARCH/${srbase}/bin/${scmd} $@
190   EOF_COMMON_SCRAM

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines