From: hickert Date: Wed, 1 Dec 2010 08:42:15 +0000 (+0000) Subject: detect correct version X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=892f6eebb22427fb359df4a749326245e0470738;p=gosa.git detect correct version git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20458 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/redhat/make-gosa-package b/gosa-core/redhat/make-gosa-package index bf2e1b369..9d1a5728e 100755 --- a/gosa-core/redhat/make-gosa-package +++ b/gosa-core/redhat/make-gosa-package @@ -44,7 +44,7 @@ fi # Detect build version ## VERSION=$(cat rpm_src/gosa-core/debian/changelog | head -n 1 | sed -n -e 's/.*(\([^-]*\).*/\1/p') - +VERSION=$(cat rpm_src/gosa-core/Changelog | grep "^\*" | sed s/"^[^0-9]*"//g | head -n1) case "$distribution" in "RHEL" )