summaryrefslogtreecommitdiffstats
path: root/t/templates/deb-make-builder/tar-control
diff options
context:
space:
mode:
Diffstat (limited to 't/templates/deb-make-builder/tar-control')
-rwxr-xr-xt/templates/deb-make-builder/tar-control13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/templates/deb-make-builder/tar-control b/t/templates/deb-make-builder/tar-control
new file mode 100755
index 0000000..feb065b
--- /dev/null
+++ b/t/templates/deb-make-builder/tar-control
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+debiandir="$1"
+controlmembers="$2"
+
+tar --create \
+ --owner=root:0 --group=root:0 \
+ --file members/control.tar.gz \
+ --gzip \
+ --directory "$debiandir" \
+ $controlmembers