Changeset ead347c
- Timestamp:
- Feb 21, 2009, 8:22:43 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- a2b89a9
- Parents:
- 5270a7f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/gcc-patch.sh
r5270a7f8 read347c 46 46 # Add a custom version string 47 47 # 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 48 DATE_STAMP=$(cat gcc-${VERSION}/gcc/DATESTAMP) 49 sed -i "s:PKGVERSION:\"(GCC for Cross-LFS ${VERSION}.${DATE_STAMP}) \":" gcc-${VERSION}/gcc/version.c 53 50 54 51 # Cleanup
Note:
See TracChangeset
for help on using the changeset viewer.