mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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"
|
echo ". executing rpmbuild"
|
||||||
cp "$DISTRO/cloud.spec" "$RPMDIR/SPECS"
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "RPM Build Failed "
|
echo "RPM Build Failed "
|
||||||
exit 3
|
exit 3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user