Changeset c7ef534 for scripts/patch/gcc-patch.sh
- Timestamp:
- Feb 16, 2009, 8:47:36 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:
- 099bfc2
- Parents:
- 61a83e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/gcc-patch.sh
r61a83e8 rc7ef534 20 20 wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-${VERSION}/gcc-${VERSION}.tar.bz2 21 21 fi 22 23 # Set Patch Number 24 # 25 cd /usr/src 26 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 27 PATCH_NUM=$(cat index.html | grep gcc | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 28 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 29 rm -f index.html 22 30 23 31 # Cleanup Directory … … 57 65 # 58 66 cd /usr/src 59 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > gcc-${VERSION}-branch_update- x.patch60 echo "Date: `date +%m-%d-%Y`" >> gcc-${VERSION}-branch_update- x.patch61 echo "Initial Package Version: ${VERSION}" >> gcc-${VERSION}-branch_update- x.patch62 echo "Origin: Upstream" >> gcc-${VERSION}-branch_update- x.patch63 echo "Upstream Status: Applied" >> gcc-${VERSION}-branch_update- x.patch64 echo "Description: This is a branch update for gcc-${VERSION}, and should be" >> gcc-${VERSION}-branch_update- x.patch65 echo " rechecked periodically." >> gcc-${VERSION}-branch_update- x.patch66 echo "" >> gcc-${VERSION}-branch_update- x.patch67 diff -Naur gcc-${VERSION}.orig gcc-${VERSION} >> gcc-${VERSION}-branch_update- x.patch68 echo "Created /usr/src/gcc-${VERSION}-branch_update- x.patch."67 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 68 echo "Date: `date +%m-%d-%Y`" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 69 echo "Initial Package Version: ${VERSION}" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 70 echo "Origin: Upstream" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 71 echo "Upstream Status: Applied" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 72 echo "Description: This is a branch update for gcc-${VERSION}, and should be" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 73 echo " rechecked periodically." >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 74 echo "" >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 75 diff -Naur gcc-${VERSION}.orig gcc-${VERSION} >> gcc-${VERSION}-branch_update-${PATCH_NUM}.patch 76 echo "Created /usr/src/gcc-${VERSION}-branch_update-${PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.