Changeset c7ef534 for scripts/patch/readline-patch.sh
- Timestamp:
- Feb 16, 2009, 8:47:36 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:
- 099bfc2
- Parents:
- 61a83e8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/patch/readline-patch.sh
r61a83e8 rc7ef534 30 30 wget ftp://ftp.cwru.edu/pub/bash/readline-${VERSION}.tar.gz 31 31 fi 32 33 # Set Patch Number 34 # 35 cd /usr/src 36 wget http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/ --no-remove-listing 37 PATCH_NUM=$(cat index.html | grep readline | grep "${VERSION}" | grep branch_update | cut -f2 -d'"' | cut -f1 -d'"'| cut -f4 -d- | cut -f1 -d. | tail -n 1) 38 PATCH_NUM=$(expr ${PATCH_NUM} + 1) 39 rm -f index.html 32 40 33 41 # Cleanup Directory … … 98 106 # 99 107 cd /usr/src 100 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}-branch_update- x.patch101 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}-branch_update- x.patch102 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}-branch_update- x.patch103 echo "Origin: Upstream" >> readline-${VERSION}-branch_update- x.patch104 echo "Upstream Status: Applied" >> readline-${VERSION}-branch_update- x.patch105 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}-branch_update- x.patch108 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > readline-${VERSION}-branch_update-${PATCH_NUM}.patch 109 echo "Date: `date +%m-%d-%Y`" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 110 echo "Initial Package Version: ${VERSION}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 111 echo "Origin: Upstream" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 112 echo "Upstream Status: Applied" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 113 echo "Description: Contains all upstream patches up to ${VERSION}-${FILES}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 106 114 if [ -n "${SKIPPED}" ]; then 107 echo " Thee following patches were skipped" >> readline-${VERSION}-branch_update- x.patch108 echo " ${SKIPPED}" >> readline-${VERSION}-branch_update- x.patch115 echo " Thee following patches were skipped" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 116 echo " ${SKIPPED}" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 109 117 fi 110 echo "" >> readline-${VERSION}-branch_update- x.patch111 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}-branch_update- x.patch112 echo "Created /usr/src/readline-${VERSION}-branch_update- x.patch."118 echo "" >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 119 diff -Naur readline-${VERSION}.orig readline-${VERSION} >> readline-${VERSION}-branch_update-${PATCH_NUM}.patch 120 echo "Created /usr/src/readline-${VERSION}-branch_update-${PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.