From: hickert Date: Wed, 1 Dec 2010 08:45:54 +0000 (+0000) Subject: updated build script X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73d82bca307742b2c447b44b6e0bbb7c331b46db;p=gosa.git updated build script git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20459 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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" )