Changeset c7ef534 for scripts/patch/binutils-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/binutils-patch.sh
r61a83e8 rc7ef534 23 23 wget ftp://ftp.gnu.org/gnu/binutils/binutils-${SOURCEVERSION}.tar.bz2 24 24 fi 25 26 # Set Patch Number 27 # 28 cd /usr/src 29 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 30 PATCH_NUM=$(cat index.html | grep binutils | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 31 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 32 rm -f index.html 25 33 26 34 # Cleanup Directory … … 70 78 # 71 79 cd /usr/src 72 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > binutils-${SOURCEVERSION}-branch_update- x.patch73 echo "Date: `date +%m-%d-%Y`" >> binutils-${SOURCEVERSION}-branch_update- x.patch74 echo "Initial Package Version: ${SOURCEVERSION}" >> binutils-${SOURCEVERSION}-branch_update- x.patch75 echo "Origin: Upstream" >> binutils-${SOURCEVERSION}-branch_update- x.patch76 echo "Upstream Status: Applied" >> binutils-${SOURCEVERSION}-branch_update- x.patch77 echo "Description: This is a branch update for binutils-${SOURCEVERSION}, and should be" >> binutils-${SOURCEVERSION}-branch_update- x.patch78 echo " rechecked periodically." >> binutils-${SOURCEVERSION}-branch_update- x.patch79 echo "" >> binutils-${SOURCEVERSION}-branch_update- x.patch80 diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> binutils-${SOURCEVERSION}-branch_update- x.patch81 echo "Created /usr/src/binutils-${SOURCEVERSION}-branch_update- x.patch."80 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 81 echo "Date: `date +%m-%d-%Y`" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 82 echo "Initial Package Version: ${SOURCEVERSION}" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 83 echo "Origin: Upstream" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 84 echo "Upstream Status: Applied" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 85 echo "Description: This is a branch update for binutils-${SOURCEVERSION}, and should be" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 86 echo " rechecked periodically." >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 87 echo "" >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 88 diff -Naur binutils-${SOURCEVERSION}.orig binutils-${SOURCEVERSION} >> binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch 89 echo "Created /usr/src/binutils-${SOURCEVERSION}-branch_update-${PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.