summaryrefslogtreecommitdiffstats
path: root/t/templates/deb-make-builder/tar-control
blob: feb065bb7e44e6982ba11c87b38a166097340233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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