Fix nested rpmbuild
This commit is contained in:
@@ -599,7 +599,7 @@ installMCFromRepo() {
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
err "An MC repository for $ID is not yet available"
|
err "An MC repository for $ID is not yet available"
|
||||||
err "Try using --install local to install MC on $ID"
|
err "Use --install local to install MC on $ID"
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -818,8 +818,8 @@ buildRPM() {
|
|||||||
echo "Building MC $MCVERSION RPM, this may take awhile"
|
echo "Building MC $MCVERSION RPM, this may take awhile"
|
||||||
rpmbuild_cmd=(
|
rpmbuild_cmd=(
|
||||||
rpmbuild
|
rpmbuild
|
||||||
--define=\"%_topdir "$OUTPUTDIR"\"
|
--define="%_topdir $OUTPUTDIR"
|
||||||
--define=\"%_libdir /usr/lib\"
|
--define="%_libdir /usr/lib"
|
||||||
-bb
|
-bb
|
||||||
"$OUTPUTDIR/SPECS/mediacenter.spec"
|
"$OUTPUTDIR/SPECS/mediacenter.spec"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user