From: <ssk...@re...> - 2004-11-19 18:11:20
|
Author: sskracic Date: 2004-11-19 19:03:46 +0100 (Fri, 19 Nov 2004) New Revision: 115 Modified: tools/trunk/bundle/rollingbuild.sh Log: Added support for relocatable build area, depending on RPM_DIR (to be consistent with other packaages). Modified: tools/trunk/bundle/rollingbuild.sh =================================================================== --- tools/trunk/bundle/rollingbuild.sh 2004-11-18 19:39:24 UTC (rev 114) +++ tools/trunk/bundle/rollingbuild.sh 2004-11-19 18:03:46 UTC (rev 115) @@ -32,7 +32,12 @@ make dist # Build the rpms -rpmbuild -ta --clean ccm-tools-bundle-*.tar.gz +if [ -n "$RPM_DIR" ] +then + rpmbuild -ta --define "_topdir $RPM_DIR" --clean ccm-tools-bundle-*.tar.gz +else + rpmbuild -ta --clean ccm-tools-bundle-*.tar.gz +fi ./make-zip.sh |