This is an automated email from the git hooks/post-receive script. abe pushed a commit to branch master in repository pkg-perl-tools.
commit 42d162e964666e302618374bee9f078c3340e1ce Author: Axel Beckert <a...@deuxchevaux.org> Date: Tue Jul 21 20:58:57 2015 +0200 alioth-repo: Proper error message if distribution name couldn't be determined --- debian/changelog | 2 ++ scripts/alioth-repo | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 11d2792..7c89c1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,8 @@ pkg-perl-tools (0.21) UNRELEASED; urgency=medium * dpt-takeover: Change to use "gbp-import-dscs --debsnap" instead of "apt-get source" and "gbp-import-dsc". * dpt-takeover: set -u only after environment variable checking. + * dpt-alioth-repo: Proper error message if distribution name couldn't be + determined. [ gregor herrmann ] * dpt-import-orig: use Gbp-Dch for changelog commit message. diff --git a/scripts/alioth-repo b/scripts/alioth-repo index 77a3099..226de6c 100755 --- a/scripts/alioth-repo +++ b/scripts/alioth-repo @@ -36,7 +36,10 @@ set -e [ -n "$DIST" ] || DIST=$(detect_dist) -[ -n "$DIST" ] +if [ -z "$DIST" ]; then + echo "Couldn't determine distribution name." 1>&2 + exit 1 +fi # Check if there is already a remote called "origin" before proceeding if git remote | egrep -q '^origin$'; then -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits