[Pkg-haskell-commits] [tools] 03/03: mass-upload: More robust, use ssh-upload

Joachim Breitner nomeata at moszumanska.debian.org
Tue May 5 14:50:53 UTC 2015


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

nomeata pushed a commit to branch master
in repository tools.

commit 958fb4dd5f7f9761c61695c7b62bab2d29b5caed
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue May 5 16:50:44 2015 +0200

    mass-upload: More robust, use ssh-upload
---
 mass-upload.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mass-upload.sh b/mass-upload.sh
index b591b41..299031d 100755
--- a/mass-upload.sh
+++ b/mass-upload.sh
@@ -31,7 +31,8 @@ do
 	changes=$1
 	shift
 
-	pkg="$(grep-dctrl '' -s Source -n "$changes")"
+	#pkg="$(grep-dctrl '' -s Source -n "$changes")"
+	pkg="$(grep ^Source $changes | cut -c9-)"
 
 	if [ ! -d "$repodir/$pkg/_darcs" ]
 	then
@@ -40,7 +41,7 @@ do
 	fi
 
 	debsign $debsignarg "$changes"
-	dput "$changes"
+	dput ssh-upload "$changes"
 	darcs push --repo="$repodir/$pkg" -a
 	mv "$changes" "$changes-done"
 

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



More information about the Pkg-haskell-commits mailing list