summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/control-files/control-files-bad/build-spec/tar-control')
-rwxr-xr-xt/recipes/checks/control-files/control-files-bad/build-spec/tar-control8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control b/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control
new file mode 100755
index 0000000..2188e24
--- /dev/null
+++ b/t/recipes/checks/control-files/control-files-bad/build-spec/tar-control
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+debiandir="$1"
+controlmembers="$2"
+
+tar --create --file members/control.tar.gz --gzip --owner=nobody --directory "$debiandir" $controlmembers