Changeset ead347c for scripts/patch


Ignore:
Timestamp:
Feb 21, 2009, 12:22:43 PM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
a2b89a9
Parents:
5270a7f8
Message:

Finally Fixed Branding of GCC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/patch/gcc-patch.sh

    r5270a7f8 read347c  
    4646# Add a custom version string
    4747#
    48 DATE_STAMP=$(date +%Y%m%d)
    49 sed -i "s:PKGVERSION:\"(GCC for Cross-LFS) \":" gcc-${VERSION}/gcc/version.c
    50 sed -i 's@\(^DATESTAMP_s := \).*@\1\"\\\"$(DATESTAMP_c\)\\\"\"@' gcc-${VERSION}/gcc/Makefile.in
    51 echo "${VERSION}" > gcc-${VERSION}/gcc/BASE-VER
    52 echo "${DATE_STAMP}" > gcc-${VERSION}/gcc/DATESTAMP
     48DATE_STAMP=$(cat gcc-${VERSION}/gcc/DATESTAMP)
     49sed -i "s:PKGVERSION:\"(GCC for Cross-LFS ${VERSION}.${DATE_STAMP}) \":" gcc-${VERSION}/gcc/version.c
    5350
    5451# Cleanup
Note: See TracChangeset for help on using the changeset viewer.