[Clfs-commits] commit: r4745 - in /trunk/scripts: fetch/glibc.sh patch/binutils-patch.sh patch/gcc-patch.sh

svn at cross-lfs.org svn at cross-lfs.org
Sat Feb 21 00:27:19 PST 2009


Author: jim
Date: Sat Feb 21 08:27:19 2009
New Revision: 4745

Log:
Updates

Modified:
    trunk/scripts/fetch/glibc.sh
    trunk/scripts/patch/binutils-patch.sh
    trunk/scripts/patch/gcc-patch.sh

Modified: trunk/scripts/fetch/glibc.sh
==============================================================================
--- trunk/scripts/fetch/glibc.sh (original)
+++ trunk/scripts/fetch/glibc.sh Sat Feb 21 08:27:19 2009
@@ -57,6 +57,10 @@
 find "glibc-${TARver}" "glibc-ports-${TARver}" -name CVS -type d | xargs rm -rf
 find "glibc-${TARver}" "glibc-ports-${TARver}" -name .cvsignore | xargs rm -rf
 
+# Add a custom version string
+DATE_STAMP=$(date +%Y%m%d)
+sed -i "s at Copyright (C)@Built for Cross-LFS - ${DATE_STAMP}\\n\Copyright (C)@" csu/version.c
+
 # Create tarballs
 echo "Creating Tarballs"
 tar cvjf "glibc-${TARver}.tar.bz2" "glibc-${TARver}"

Modified: trunk/scripts/patch/binutils-patch.sh
==============================================================================
--- trunk/scripts/patch/binutils-patch.sh (original)
+++ trunk/scripts/patch/binutils-patch.sh Sat Feb 21 08:27:19 2009
@@ -77,7 +77,7 @@
 # Customize the version string, so we know it's patched
 #
 cd /usr/src/binutils-${SOURCEVERSION}
-DATE_STAMP="`date +%Y%m%d`"
+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

Modified: trunk/scripts/patch/gcc-patch.sh
==============================================================================
--- trunk/scripts/patch/gcc-patch.sh (original)
+++ trunk/scripts/patch/gcc-patch.sh Sat Feb 21 08:27:19 2009
@@ -45,7 +45,7 @@
 
 # Add a custom version string
 #
-DATE_STAMP="`date +%Y%m%d`"
+DATE_STAMP=$(date +%Y%m%d)
 sed -i "s:PKGVERSION:\"(GCC for Cross-LFS) \":" gcc-${VERSION}/gcc/version.c
 BASE_VER=$(cat gcc-${VERSION}/gcc/BASE-VER}
 echo "${BASE_VER} - ${DATE_STAMP}" > gcc-${VERSION}/gcc/BASE-VER




More information about the Clfs-commits mailing list