- Timestamp:
- May 23, 2009, 9:41:06 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ed35c26d
- Parents:
- 8535616
- Location:
- scripts/fetch
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/fetch/glibc.sh
r8535616 raa81e76 60 60 # Add a custom version string 61 61 DATE_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.h64 sed -i "s@ Copyright@Built for Cross-LFS\\\\n\\\\\nCopyright@"csu/version.c62 echo "#define DL_DATE \"${DATE_STAMP}\"" >> libc/version.h 63 sed -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 64 sed -i "s@static const char __libc_release@static const char __libc_dl_date[] = DL_DATE;\nstatic const char __libc_release@" libc/csu/version.c 65 65 66 66 # Create tarballs
Note:
See TracChangeset
for help on using the changeset viewer.