[rott] 01/03: refinements to debian/README.source

Fabian Greffrath fabian-guest at moszumanska.debian.org
Mon May 11 12:30:44 UTC 2015


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

fabian-guest pushed a commit to branch master
in repository rott.

commit 1dbd4c68a1c42e633e618b59169696bba448c509
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Mon May 11 14:23:09 2015 +0200

    refinements to debian/README.source
---
 debian/README.source | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/README.source b/debian/README.source
index 4d7863b..b9c08b5 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,11 +1,17 @@
 #!/bin/bash
 # This is how the Debian source tarball was created:
 
+set -e
+
 PACKAGE=rott
 VERSION=1.1.2+
 SVNREV=287
 
-pushd ..
+TMPDIR=`mktemp -d`
+
+pushd ${TMPDIR}
 svn export -r ${SVNREV} svn://svn.icculus.org/rott/trunk/ ${PACKAGE}-${VERSION}svn${SVNREV}
 tar cJfv ${PACKAGE}_${VERSION}svn${SVNREV}.orig.tar.xz ${PACKAGE}-${VERSION}svn${SVNREV}
 popd
+
+cp ${TMPDIR}/${PACKAGE}_${VERSION}svn${SVNREV}.orig.tar.xz ..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/rott.git



More information about the Pkg-games-commits mailing list