[SCM] Vim packaging branch, debian, updated. upstream/7.2c.000-213-gc420277

James Vega jamessan at debian.org
Sun Aug 10 01:34:56 UTC 2008


The following commit has been merged in the debian branch:
commit caa129bcb3f89c7856f74ad71048903e83fa5a54
Author: James Vega <jamessan at debian.org>
Date:   Sat Aug 9 21:23:03 2008 -0400

    Ensure update-patches doesn't get a bad curpatch with a stale README
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/update-patches b/debian/update-patches
index eca3d64..91d1a62 100755
--- a/debian/update-patches
+++ b/debian/update-patches
@@ -44,7 +44,7 @@ version='7.2c'
 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\.0\*//)
+curpatch=$(git show debian:debian/README 2>/dev/null| tail -n1 | awk /$version\\./'{print $2}' | sed s/^$version\.0\*//)
 newpatch=$(lftp -c "open $host; cd $dir; ls $version.*" | tail -n1 | awk -F. '{print $3}')
 
 if [ -z "$curpatch" ]; then

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list