Changeset d8bd081
- Timestamp:
- Jun 5, 2009, 1:54:35 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ca9d9fb5
- Parents:
- e0592ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/gcc-patch.sh
re0592ba rd8bd081 31 31 # Cleanup Directory 32 32 # 33 rm -rf gcc-${VERSION} gcc-${VERSION}.orig34 tar xvf gcc-${VERSION}.tar.bz235 mv gcc-${VERSION} gcc-${VERSION}.orig33 #rm -rf gcc-${VERSION} gcc-${VERSION}.orig 34 #tar xvf gcc-${VERSION}.tar.bz2 35 #mv gcc-${VERSION} gcc-${VERSION}.orig 36 36 CURRENTDIR=$(pwd -P) 37 37 38 38 # Get Current Updates from SVN 39 39 # 40 cd /usr/src41 NUM1=$(echo ${VERSION} | cut -f1 -d.)42 NUM2=$(echo ${VERSION} | cut -f2 -d.)43 FIXEDVERSION=$(echo -n "$NUM1" ; echo -n "_" ; echo -e "$NUM2")44 svn export svn://gcc.gnu.org/svn/gcc/branches/gcc-${FIXEDVERSION}-branch gcc-${VERSION}40 #cd /usr/src 41 #NUM1=$(echo ${VERSION} | cut -f1 -d.) 42 #NUM2=$(echo ${VERSION} | cut -f2 -d.) 43 #FIXEDVERSION=$(echo -n "$NUM1" ; echo -n "_" ; echo -e "$NUM2") 44 #svn export svn://gcc.gnu.org/svn/gcc/branches/gcc-${FIXEDVERSION}-branch gcc-${VERSION} 45 45 46 46 # Add a custom version string … … 54 54 for DIRECTORY in ${DIRS}; do 55 55 cd ${DIRECTORY} 56 REMOVE="ABOUT-NLS COPYING COPYING.LIB ChangeLog ChangeLog.tree-ssa MAINTAINERS Makefile.def 57 Makefile.in Makefile.tpl README README.SCO boehm-gc/ChangeLog BUGS FAQ LAST_UPDATED 58 MD5SUMS NEWS bugs.html faq.html gcc/BASE-VER gcc/DEV-PHASE gcc/c-parse.c 59 gcc/gengtype-lex.c gcc/c-parse.y gcc/gengtype-yacc.c gcc/gengtype-yacc.h gcc/f/BUGS gcc/f/NEWS 60 gcc/java/parse-scan.c gcc/java/parse.c gcc/objc/objc-parse.c gcc/objc/objc-parse.y" 56 REMOVE="ABOUT-NLS COPYING COPYING.LIB MAINTAINERS Makefile.def 57 Makefile.in Makefile.tpl README README.SCO BUGS FAQ LAST_UPDATED 58 MD5SUMS NEWS bugs.html faq.html gcc/BASE-VER gcc/DEV-PHASE 59 gcc/f/BUGS gcc/f/NEWS gcc/c-parse.c gcc/gengtype-lex.c gcc/c-parse.y 60 gcc/gengtype-yacc.c gcc/gengtype-yacc.h gcc/java/parse-scan.c 61 gcc/java/parse.c gcc/objc/objc-parse.c gcc/objc/objc-parse.y 62 libjava/classpath/doc/cp-tools.info" 61 63 for file in ${REMOVE}; do 62 64 rm -f $file 65 done 66 for file in $(find . -name "ChangeLog*" | sed -e 's@./@@'); do 67 rm -f ${file} 63 68 done 64 69 rm -rf INSTALL 65 70 rm -f fastjar/*.{1,info} gcc/doc/*.{1,info,7} gcc/fortran/*.{1,info,7} 66 71 rm -f gcc/po/*.{gmo,po} libcpp/po/*.{gmo,po} libgomp/*.{1,info,7} 72 rm -f libjava/classpath/doc/*.{1,info} 67 73 cd .. 68 74 done
Note:
See TracChangeset
for help on using the changeset viewer.