Changeset c7ef534 for scripts/patch/vim-patch.sh
- Timestamp:
- 02/16/09 12:47:36 (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/vim-patch.sh
r61a83e8 rc7ef534 30 30 wget ftp://ftp.vim.org/pub/vim/unix/vim-${VERSION}.tar.bz2 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 vim | 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 … … 76 84 fi 77 85 fi 78 COUNT= `expr ${COUNT} + 1`86 COUNT=$(expr ${COUNT} + 1) 79 87 done 80 88 … … 96 104 # 97 105 cd /usr/src 98 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > vim-${VERSION}-branch_update- x.patch99 echo "Date: `date +%m-%d-%Y`" >> vim-${VERSION}-branch_update- x.patch100 echo "Initial Package Version: ${VERSION}" >> vim-${VERSION}-branch_update- x.patch101 echo "Origin: Upstream" >> vim-${VERSION}-branch_update- x.patch102 echo "Upstream Status: Applied" >> vim-${VERSION}-branch_update- x.patch103 echo "Description: Contains all upstream patches up to ${VERSION}.${FILES}" >> vim-${VERSION}-branch_update- x.patch106 echo "Submitted By: Jim Gifford (jim at cross-lfs dot org)" > vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 107 echo "Date: `date +%m-%d-%Y`" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 108 echo "Initial Package Version: ${VERSION}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 109 echo "Origin: Upstream" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 110 echo "Upstream Status: Applied" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 111 echo "Description: Contains all upstream patches up to ${VERSION}.${FILES}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 104 112 if [ -n "${SKIPPED}" ]; then 105 echo " The following patches were skipped" >> vim-${VERSION}-branch_update- x.patch106 echo " ${SKIPPED}" >> vim-${VERSION}-branch_update- x.patch113 echo " The following patches were skipped" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 114 echo " ${SKIPPED}" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 107 115 fi 108 echo "" >> vim-${VERSION}-branch_update- x.patch109 diff -Naur vim${SERIES}.orig vim${SERIES} >> vim-${VERSION}-branch_update- x.patch110 echo "Created /usr/src/vim-${VERSION}-branch_update- x.patch."116 echo "" >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 117 diff -Naur vim${SERIES}.orig vim${SERIES} >> vim-${VERSION}-branch_update-$(PATCH_NUM}.patch 118 echo "Created /usr/src/vim-${VERSION}-branch_update-$(PATCH_NUM}.patch."
Note:
See TracChangeset
for help on using the changeset viewer.