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

Comparing COMP/CMSDIST/cms-cvs-utils.spec (file contents):
Revision 1.5 by eulisse, Wed Jul 19 09:01:12 2006 UTC vs.
Revision 1.7 by eulisse, Tue Aug 22 16:28:10 2006 UTC

# Line 94 | Line 94 | setenv CVSROOT "${cvsbase}/$argv[1]"
94   endif
95   EOF_CMSCVSROOT_CSH
96  
97 + cat << \EOF_CLCOMMIT > %i/bin/clcommit
98 +
99 + EOF_CLCOMMIT
100 +
101   chmod +x %i/bin/projch.sh
102   chmod +x %i/bin/projch.csh
103   chmod +x %i/bin/cmscvsroot.sh
# Line 108 | Line 112 | ln -sf %i/etc/profile.d/init.csh %instro
112   %instroot/%cmsplatf/etc/profile.d/S00cms-cvs-utils.csh
113  
114   %post
115 + perl -p -i -e 's|(.*setenv.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh
116 + perl -p -i -e 's|(.*export.*)|#$1|' $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh
117   ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.sh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00cms-cvs-utils.sh
118   ln -sf $RPM_INSTALL_PREFIX/%pkgrel/etc/profile.d/init.csh $RPM_INSTALL_PREFIX/%cmsplatf/etc/profile.d/S00cms-cvs-utils.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines