From 73d82bca307742b2c447b44b6e0bbb7c331b46db Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 1 Dec 2010 08:45:54 +0000 Subject: [PATCH] updated build script git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20459 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/make-gosa-package | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/redhat/make-gosa-package b/gosa-core/redhat/make-gosa-package index 9d1a5728e..9774200a3 100755 --- a/gosa-core/redhat/make-gosa-package +++ b/gosa-core/redhat/make-gosa-package @@ -48,8 +48,9 @@ VERSION=$(cat rpm_src/gosa-core/Changelog | grep "^\*" | sed s/"^[^0-9]*"//g | case "$distribution" in "RHEL" ) + pwd=`pwd` rm -rf /var/tmp/gosa* - build_path='/root/rpmbuild/' + build_path=$pwd/rpmbuild/ target='redhat' ;; "SLES" ) -- 2.30.2