[Clfs-commits] commit: r4705 - /trunk/scripts/patch/binutils-patch.sh

svn at cross-lfs.org svn at cross-lfs.org
Mon Feb 16 17:08:02 PST 2009


Author: eikniw
Date: Tue Feb 17 01:08:01 2009
New Revision: 4705

Log:
Implementation of the final solution

Modified:
    trunk/scripts/patch/binutils-patch.sh

Modified: trunk/scripts/patch/binutils-patch.sh
==============================================================================
--- trunk/scripts/patch/binutils-patch.sh (original)
+++ trunk/scripts/patch/binutils-patch.sh Tue Feb 17 01:08:01 2009
@@ -77,7 +77,12 @@
 # Customize the version string, so we know it's patched
 #
 cd /usr/src/binutils-${SOURCEVERSION}
-sed -i "s:@PKGVERSION@:(Cross-LFS - Branch Update ${PATCH_NUM}) :" bfd/Makefile.in
+DATE_STAMP="`date +%Y%m%d`"
+cd /usr/src/binutils-${SOURCEVERSION}
+sed -i "s:@PKGVERSION@:\"(GNU Binutils for Cross-LFS) \":" bfd/Makefile.in
+sed -i "s:^[[:space:]]VERSION=\(.*\)$:VERSION=\1.${DATE_STAMP}:g" bfd/configure
+# Cleanliness is the name of my game!
+unset DATE_STAMP
 
 # Create Patch
 #




More information about the Clfs-commits mailing list