summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/tar-data
blob: 3512cc0e7a18bdd5df653b5c392055e06bf80597 (plain)
1
2
3
4
5
6
7
#!/bin/sh

set -e

rootdir="$1"

tar --create --file members/data.tar.gz --gzip --xform 's,^,/,' --directory "$rootdir" usr/