aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-27 23:56:48 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-27 23:56:48 +0100
commit6ff30f0138ff668539c8fb2407f51a75c0293174 (patch)
tree0dcb56cf15613c8458dc36bbcb8406468e46e85a
parent92dd803ba8999a7a8debabe7d58873a803f44633 (diff)
downloadpaludis-6ff30f0138ff668539c8fb2407f51a75c0293174.tar.gz
paludis-6ff30f0138ff668539c8fb2407f51a75c0293174.tar.xz
Better git head to soname haxx0ring
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 045e02d..2996d0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ PALUDIS_PC_VERSION="${VERSION_FULL}"
PALUDIS_PC_SLOT="${VERSION_MAJOR}.${VERSION_MINOR}${VERSION_SUFFIX}"
if test x"$((VERSION_MINOR % 2))" = x"1" ; then
- PALUDIS_PC_SLOT="${PALUDIS_PC_SLOT}_"`printf "%.8s" ${GITHEAD}`
+ PALUDIS_PC_SLOT="${PALUDIS_PC_SLOT}_"`echo ${GITHEAD} | sed -e 's,\(........\(-dirty\)\?\)$,#\1,' -e 's,.*#,,'`
fi
AC_MSG_CHECKING([for slot])