summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/rpmbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm/rpmbuild.sh')
-rwxr-xr-xpackaging/rpm/rpmbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/rpm/rpmbuild.sh b/packaging/rpm/rpmbuild.sh
index f84e9677f..05015844c 100755
--- a/packaging/rpm/rpmbuild.sh
+++ b/packaging/rpm/rpmbuild.sh
@@ -7,4 +7,6 @@ ZIPFILE=${ZIPDIR}/v3po-karaf-1.0.0-SNAPSHOT.zip
mkdir -p ${DIR}/SOURCES/
cp $ZIPFILE ${DIR}/SOURCES/
cp ${DIR}/honeycomb.spec ${DIR}/SOURCES/
+cd ${DIR}
rpmbuild -bb --define "_topdir ${DIR}" ${DIR}/honeycomb.spec
+cd -