gpgtar: Make option -C work for archive creation.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Mar 2019 19:08:26 +0000 (20:08 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Mar 2019 19:08:26 +0000 (20:08 +0100)
commitb3a7a5140784b5a015107b5c5c73b15ae44e71dc
tree1269d36bf7c060c822df4d3205b50d61b39cece4
parent91ae3e7fb66271691f6fe507262a62fc7e2663a3
gpgtar: Make option -C work for archive creation.

* tools/gpgtar-create.c (gpgtar_create): Switch to the -C directory.
--

The -C option is pretty useful given that pattern are always relative
to the current directory.  In contrast to GNU tar, the switching is
done only once.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/tools.texi
tools/gpgtar-create.c
tools/gpgtar.c