mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9065: fix bug when creating packaging with noredist flag
This commit is contained in:
parent
3f7a86d8ef
commit
adb0d3bb74
|
|
@ -102,7 +102,7 @@ function packaging() {
|
|||
echo ". executing rpmbuild"
|
||||
cp "$DISTRO/cloud.spec" "$RPMDIR/SPECS"
|
||||
|
||||
(cd "$RPMDIR"; rpmbuild --define "_topdir ${RPMDIR}" "${DEFVER}" "${DEFREL}" ${DEFPRE+"$DEFPRE"} ${DEFOSSNOSS+$DEFOSSNOSS} ${DEFSIM+"$DEFSIM"} -bb SPECS/cloud.spec)
|
||||
(cd "$RPMDIR"; rpmbuild --define "_topdir ${RPMDIR}" "${DEFVER}" "${DEFREL}" ${DEFPRE+"$DEFPRE"} ${DEFOSSNOSS+"$DEFOSSNOSS"} ${DEFSIM+"$DEFSIM"} -bb SPECS/cloud.spec)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "RPM Build Failed "
|
||||
exit 3
|
||||
|
|
|
|||
Loading…
Reference in New Issue