From 892f6eebb22427fb359df4a749326245e0470738 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 1 Dec 2010 08:42:15 +0000 Subject: [PATCH] detect correct version git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20458 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/make-gosa-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) -- 2.30.2