[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-119-g05eb77f

James Vega jamessan at debian.org
Tue Jun 3 12:59:27 UTC 2008


The following commit has been merged in the debian branch:
commit 05eb77fcacf29ca2047af6815ded2de0de62c945
Author: James Vega <jamessan at debian.org>
Date:   Tue Jun 3 08:55:52 2008 -0400

    Use debian:debian/README to determine current patch level.
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/update-patches b/debian/update-patches
index 0e2dfce..544e73c 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 master:debian/changelog | dpkg-parsechangelog -l- | awk '/^Version:/{print $2}' | sed 's/^.*\.\([0-9]*\)\+-[0-9]\+$/\1/')
+curpatch=$(git show debian:debian/README | tail -n1 | awk '{print $3}')
 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