2
# Copyright (C) 2004 Johannes Berg
4
# See the file "COPYING" for further information about
5
# the copyright and warranty status of this work.
11
tmpdir="$(aba_mktempdir)" && {
16
outname="$oldpwd/$pname.tar.gz"
18
if [ -e "$outname" ]; then
19
echo "The archive $outname already exists!"
21
tmpdirout="$(aba_mktempdir)" && {
23
outname="$tmpdirout/$pname.tar.gz"
24
echo "Using $outname instead."
28
tla inventory -sB $pname | tar -T- --no-recursion -c -z -f $outname
36
echo ' export : export a revision into a tarball'
40
echo 'export : export a revision into a tarball'
41
echo 'usage: aba export revision [destination]'
43
echo 'Exports a revision into the tarball destination.tar.gz.'
44
echo 'If no destination is given, uses the fully qualified'
45
echo ' category--branch--version--patchlevel'
46
echo 'as destination.'
54
# arch-tag: export by Johannes Berg (20:38 Feb 17 2004)