diff contrib/dockerdeb @ 29007:78074575df2e stable

dockerdeb: pass the rest of the args to the builder script It seems this was the original intent of the script so this patch passes the remanining arguments to builddeb.
author Sean Farley <sean@farley.io>
date Sat, 23 Apr 2016 12:47:57 -0700
parents be02dfe41ae2
children
line wrap: on
line diff
--- a/contrib/dockerdeb	Sat Apr 23 12:47:39 2016 -0700
+++ b/contrib/dockerdeb	Sat Apr 23 12:47:57 2016 -0700
@@ -27,7 +27,7 @@
             sh -c "cd /mnt/$dn && make clean && make local"
 fi
 $DOCKER run -u $DBUILDUSER --rm -v $PWD/..:/mnt $CONTAINER \
-  sh -c "cd /mnt/$dn && DEB_BUILD_OPTIONS='${DEB_BUILD_OPTIONS:=}' contrib/builddeb --build --distid $DISTID --codename $CODENAME"
+  sh -c "cd /mnt/$dn && DEB_BUILD_OPTIONS='${DEB_BUILD_OPTIONS:=}' contrib/builddeb --build --distid $DISTID --codename $CODENAME $@"
 contrib/builddeb --cleanup --distid $DISTID --codename $CODENAME
 if [ $(uname) = "Darwin" ] ; then
     $DOCKER run -u $DBUILDUSER --rm -v $PWD/..:/mnt $CONTAINER \