contrib/dockerdeb
changeset 26108 05306b9359d3
parent 24973 4c4d0012db4f
child 26148 7f49efcaa9b4
--- a/contrib/dockerdeb	Wed Aug 26 10:20:07 2015 -0400
+++ b/contrib/dockerdeb	Tue Aug 25 00:02:44 2015 -0400
@@ -8,13 +8,14 @@
 
 checkdocker
 
+DEBPLATFORM="$1"
 PLATFORM="debian-$1"
 shift # extra params are passed to build process
 
 initcontainer $PLATFORM
 
-DEBBUILDDIR=$ROOTDIR/packages/$PLATFORM
-contrib/builddeb --debbuilddir $DEBBUILDDIR/staged --prepare
+DEBBUILDDIR=${OUTPUTDIR:=$ROOTDIR/packages/$PLATFORM}
+OUTPUTDIR=$DEBBUILDDIR/staged contrib/builddeb --release $DEBPLATFORM --prepare
 
 DSHARED=/mnt/shared/
 if [ $(uname) = "Darwin" ] ; then