This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository kmer-tools.

commit 072ff30db3d413c6113f21ee811837aec3e268b1
Author: Afif Elghraoui <a...@ghraoui.name>
Date:   Wed May 6 19:02:25 2015 -0700

    Change get-orig-source to download the proper svn revision
    
    Rather than always download the latest SVN revision, we want to
    download a specific snapshot. The svn revision is specified in
    the package version and refers to the version bundled with the
    latest release of wgs-assembler.
---
 debian/get-orig-source | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 8940b91..818affa 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -15,15 +15,14 @@ else
 fi
 
 SVNURI="svn://svn.code.sf.net/p/kmer/code/trunk"
-revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last 
Changed Rev: *//'`
-VERSION=`echo ${VERSION}| sed "s/+[0-9]\+$//"`+${revision}
+revision=`echo ${VERSION} | sed "s/^.*+//"`
 
 TARDIR=${NAME}-${VERSION}
 
 mkdir -p ../tarballs
 cd ../tarballs
 # svn export conserves time stamps of the files, checkout does not
-LC_ALL=C svn export ${SVNURI} ${TARDIR} >/dev/null 2>/dev/null
+LC_ALL=C svn export -r ${revision} ${SVNURI} ${TARDIR} >/dev/null 2>/dev/null
 
 cd ${TARDIR}
 rm -f *.pdf *.ppt

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/kmer-tools.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to