Code

updated build script
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Dec 2010 08:45:54 +0000 (08:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Dec 2010 08:45:54 +0000 (08:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20459 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/redhat/make-gosa-package

index 9d1a5728e78b07e249c25f5917cf20c1c1fbb13f..9774200a395d2f837145406c2af4db7ba35d4113 100755 (executable)
@@ -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" )