Debian Codegraph @

bundle-files/steps/build-tar

raw symbols SCIP
1 #!/bin/bash
2 # takes all build files and extracts them as tar
3 # on the stdout
4
5 set -eu
6 shopt -s nullglob
7
8 source /root/source/info
9
10 cd /root/source/
11
12 if [ "${format}" = "native" ]; then
13 # native
14 exec tar -cf - *.build *.buildinfo *.changes *.deb *.dsc *.tar.*
15 else
16 # non-native
17 exec tar -cf - *.build *.buildinfo *.changes *.deb *.dsc *.debian.tar.* *.orig.tar.*
18 fi