[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-120-g5648576
James Vega
jamessan at debian.org
Tue Jun 3 13:07:31 UTC 2008
The following commit has been merged in the debian branch:
commit 564857694c707d20fc6fd7e89b2d6834ad4bf1c4
Author: James Vega <jamessan at debian.org>
Date: Tue Jun 3 09:06:00 2008 -0400
Fix determination of patch level from last commit.
awk should be reading the 2nd field and we need to strip the major version so
we have only the patch level.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/debian/update-patches b/debian/update-patches
index 544e73c..01020b9 100755
--- a/debian/update-patches
+++ b/debian/update-patches
@@ -21,7 +21,7 @@ host='ftp.vim.org'
version='7.1'
dir="pub/vim/patches/$version"
-curpatch=$(git show debian:debian/README | tail -n1 | awk '{print $3}')
+curpatch=$(git show debian:debian/README | tail -n1 | awk '{print $2}' | sed s/^$version\.//)
curpatch=$(($curpatch + 1))
newpatch=$(lftp -c "open $host; cd $dir; ls $version.*" | tail -n1 | awk -F. '{print $3}')
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list