author | Matt Mackall <mpm@selenic.com> |
Thu, 07 Jan 2016 17:51:54 -0600 | |
changeset 27682 | bd706395351b |
parent 27681 | 174069440929 (current diff) |
parent 27641 | 1292700d31b5 (diff) |
child 27683 | 76fc5ac23473 |
--- a/contrib/dockerrpm Fri Jan 01 22:35:34 2016 +0900 +++ b/contrib/dockerrpm Thu Jan 07 17:51:54 2016 -0600 @@ -15,6 +15,8 @@ RPMBUILDDIR=$ROOTDIR/packages/$PLATFORM contrib/buildrpm --rpmbuilddir $RPMBUILDDIR --prepare $* +mkdir -p $RPMBUILDDIR/{BUILD,SRPMS,RPMS} + DSHARED=/mnt/shared $DOCKER run -u $DBUILDUSER --rm -v $RPMBUILDDIR:$DSHARED $CONTAINER \ rpmbuild --define "_topdir $DSHARED" -ba $DSHARED/SPECS/mercurial.spec --clean