[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-233-g4db67bf

James Vega jamessan at debian.org
Tue Jul 8 16:32:23 UTC 2008


The following commit has been merged in the debian branch:
commit 4db67bf58a43e4c106f59c0fcdea1225e67f0ac8
Author: James Vega <jamessan at debian.org>
Date:   Tue Jul 8 12:31:42 2008 -0400

    debian/update-patches: Don't treat curpatch as an octal number
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/update-patches b/debian/update-patches
index 6d915ef..fd04b65 100755
--- a/debian/update-patches
+++ b/debian/update-patches
@@ -34,7 +34,7 @@ version='7.2a'
 snapshot='unstable/'
 dir="pub/vim/${snapshot}patches/$version"
 
-curpatch=$(git show debian:debian/README 2>/dev/null| tail -n1 | awk '{print $2}' | sed s/^$version\.//)
+curpatch=$(git show debian:debian/README 2>/dev/null| tail -n1 | awk '{print $2}' | sed 's/^$version\.0*//')
 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