[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-207-g35aef2b

James Vega jamessan at debian.org
Fri Jun 27 01:53:45 UTC 2008


The following commit has been merged in the debian branch:
commit 35aef2b916118870be5a99faa7d562c62195d319
Author: James Vega <jamessan at debian.org>
Date:   Thu Jun 26 21:53:10 2008 -0400

    Redirect git-show's stderr to /dev/null.
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/update-patches b/debian/update-patches
index 025a8c8..22ff587 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 | 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\.//)
 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