[SCM] UNNAMED PROJECT branch, master, updated. 0.31-52-g3ad7d7d
Matthew Johnson
mjj29 at alioth.debian.org
Sat Mar 12 12:58:22 UTC 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 3ad7d7d333a75fbd9d2cb5777931be7577a541b4 (commit)
from 1e79735d17cb82eafce05161ea56e0f52a1a95fe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3ad7d7d333a75fbd9d2cb5777931be7577a541b4
Author: Matthew Johnson <mjj29 at debian.org>
Date: Sat Mar 12 12:58:18 2011 +0000
support epochs in version mangling as well
-----------------------------------------------------------------------
Summary of changes:
jh_installlibs | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/jh_installlibs b/jh_installlibs
index 251d7ff..6bfd697 100755
--- a/jh_installlibs
+++ b/jh_installlibs
@@ -27,13 +27,7 @@ ARGS="i indep s arch p package P tmpdir v verbose n no-act no-mangle upstream-ve
dh_testdir
FULL_VERSION="`dpkg-parsechangelog | sed -n '/^Version:/s/^[^:]*: \(.*\)$/\1/p'`"
-if echo "$FULL_VERSION" | grep -q -e "-" ; then
- # version from non-native package
- VERSION="$(echo "$FULL_VERSION" | sed -n 's/\(.*\)-[^-]*/\1/p')"
-else
- # version from native package
- VERSION="$FULL_VERSION"
-fi
+VERSION="`echo "$FULL_VERSION" | sed -n 's/\(.*:\)\?\([^-]*\)\(-.*\)\?/\2/p' `"
VERBOSE="`getarg v verbose`"
DEFAULT_VERSION_MANGLE=".dfsg[0-9]*$"
hooks/post-receive
--
UNNAMED PROJECT
More information about the pkg-java-commits
mailing list