Changeset 27e5b8e for scripts


Ignore:
Timestamp:
Feb 21, 2009, 12:13:12 AM (11 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:
08433c1
Parents:
b97cf823
Message:

Patch Cleanup Updates

Location:
scripts/patch
Files:
2 edited

Legend:

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

    rb97cf823 r27e5b8e  
    8282sed -i "s:@PKGVERSION@:(GNU Binutils for Cross-LFS) :" bfd/Makefile.in
    8383sed -i "s:^[[:space:]]VERSION=\(.*\)$:VERSION=\1.${DATE_STAMP}:g" bfd/configure
     84
    8485# Cleanliness is the name of my game!
     86#
    8587unset DATE_STAMP
    8688
  • scripts/patch/gcc-patch.sh

    rb97cf823 r27e5b8e  
    4545
    4646# Add a custom version string
    47 sed -i "s:PKGVERSION:\"(Cross-LFS - Branch Update ${PATCH_NUM}) \":" gcc-${VERSION}/gcc/version.c
     47#
     48DATE_STAMP="`date +%Y%m%d`"
     49sed -i "s:PKGVERSION:\"(GCC for Cross-LFS) \":" gcc-${VERSION}/gcc/version.c
     50BASE_VER=$(cat gcc-${VERSION}/gcc/BASE-VER}
     51echo "${BASE_VER} - ${DATE_STAMP}" > gcc-${VERSION}/gcc/BASE-VER
    4852
    4953# Cleanup
Note: See TracChangeset for help on using the changeset viewer.