echo "Going to copy comps.xml.new over as comps.xml now, press return if ok" echo "Saving old comps.xml as oldcomps/comps.xml" read cp comps.xml oldcomps/comps.xml cp comps.xml.new comps.xml cp comps.xml.new ../RPMS/yumgroups.xml #echo "making new comps.rpm" #rpmbuild -ba /usr/src/redhat/SPECS/comps.spec #cp /usr/src/redhat/RPMS/i386/comps-LTS301-0*.i386.rpm /usr/src/redhat/RPMS/new/ #mv comps.rpm oldcomps/ #mv /usr/src/redhat/RPMS/i386/comps-LTS301-0*.i386.rpm comps.rpm