diff contrib/packaging/dockerrpm @ 43355:433cdcb37321 stable

packaging: move dockerrpm output directory creation to dockerrpm Avoid having to compute the directory in two places in different environments.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Nov 2019 12:18:17 +0100
parents 4c0d4bbdc395
children e66a3bfcb19b
line wrap: on
line diff
--- a/contrib/packaging/dockerrpm	Thu Oct 31 11:53:11 2019 +0100
+++ b/contrib/packaging/dockerrpm	Fri Nov 01 12:18:17 2019 +0100
@@ -21,6 +21,7 @@
 $BUILDDIR/hg-docker build --build-arg UID=$DOCKERUID --build-arg GID=$DOCKERGID $BUILDDIR/docker/$PLATFORM $CONTAINER
 
 RPMBUILDDIR=$ROOTDIR/packages/$PLATFORM
+mkdir -p $RPMBUILDDIR
 $ROOTDIR/contrib/packaging/buildrpm --rpmbuilddir $RPMBUILDDIR --prepare $*
 
 DSHARED=/mnt/shared