[med-svn] [pipasic] 01/04: Import examples into tarball

Andreas Tille tille at debian.org
Tue Sep 29 16:52:55 UTC 2015


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

tille pushed a commit to branch master
in repository pipasic.

commit 8912a1970f681550de08402162b91355cc4318c6
Author: Andreas Tille <tille at debian.org>
Date:   Tue Sep 29 18:32:33 2015 +0200

    Import examples into tarball
---
 debian/get-orig-source | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index d44ea3e..27ae126 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -18,7 +18,7 @@ VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]
 ## NO tags no branches
 SVNURI="svn://svn.code.sf.net/p/pipasic/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}
+VERSION=`echo ${VERSION}| sed "s/+[0-9]\+$//"`.r${revision}
 
 TARDIR=${NAME}-${VERSION}
 
@@ -28,6 +28,11 @@ cd ../tarballs
 LC_ALL=C svn export ${SVNURI} ${TARDIR} >/dev/null 2>/dev/null || true
 
 find ${TARDIR} -type f -exec chmod 644 \{\} \;
+cd ${TARDIR}
+mkdir -p examples
+cd examples
+wget -q http://heanet.dl.sourceforge.net/project/pipasic/example.tar.gz
+cd ../..
 
 GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
 rm -rf ${TARDIR}

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



More information about the debian-med-commit mailing list