Changeset aa81e76 for scripts


Ignore:
Timestamp:
May 23, 2009, 9:41:06 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:
ed35c26d
Parents:
8535616
Message:

Fixed bug in glibc script and added eglibc script

Location:
scripts/fetch
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/fetch/glibc.sh

    r8535616 raa81e76  
    6060# Add a custom version string
    6161DATE_STAMP=$(date +%Y%m%d)
    62 GLIBC_VERSION=$(cat version.h | grep VERSION | cut -f3 -d' ' | sed -e 's/"//g')
    63 sed -i "s@\(^#define VERSION \).*@\1\"${GLIBC_VERSION}.${DATE_STAMP}\"@" version.h
    64 sed -i "s@Copyright@Built for Cross-LFS\\\\n\\\\\nCopyright@" csu/version.c
     62echo "#define DL_DATE \"${DATE_STAMP}\"" >> libc/version.h
     63sed -i "s@Compiled by GNU CC version@Built for Cross-LFS.\\\\n\\\\\nRetrieved on \"DL_DATE\".\\\\n\\\\\\nCompiled by GNU CC version@" libc/csu/version.c
     64sed -i "s@static const char __libc_release@static const char __libc_dl_date[] = DL_DATE;\nstatic const char __libc_release@" libc/csu/version.c
    6565
    6666# Create tarballs
Note: See TracChangeset for help on using the changeset viewer.