Home GnuPG
Diffusion GnuPG 5d73c231e4f2

gpgtar: Make option -C work for archive creation.

Description

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.

(cherry picked from commit b3a7a5140784b5a015107b5c5c73b15ae44e71dc)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 6 2019, 8:08 PM
Parents
rG2e4151a3412c: gpgtar: Improve error messages.
Branches
Unknown
Tags
Unknown