diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-13 16:29:09 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-07-30 06:39:24 +0200 |
commit | fcfe4f3aa2f3cb7f8179d4f2fe6dd65e75f7bbdf (patch) | |
tree | db6e8e68f2720c09e9a07c9f039f85777c748563 /dpkg-deb/build.c | |
parent | ca4f306f0dd8a3019360a3677e3306b629573956 (diff) | |
download | dpkg-fcfe4f3aa2f3cb7f8179d4f2fe6dd65e75f7bbdf.tar.gz |
dpkg-deb: Move tar option --no-recursion before -T
With tar > 1.28 the --no-recursion option is now positional, and needs
to be passed before the -T option, otherwise the tarball will end up
with duplicated entries.
Stable-Candidate: 1.16.x 1.17.x
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'dpkg-deb/build.c')
-rw-r--r-- | dpkg-deb/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c index 94d75ff4f..ea3d861a1 100644 --- a/dpkg-deb/build.c +++ b/dpkg-deb/build.c @@ -605,7 +605,7 @@ do_build(const char *const *argv) if (chdir(dir)) ohshite(_("failed to chdir to '%.255s'"), dir); execlp(TAR, "tar", "-cf", "-", "--format=gnu", "--null", "--no-unquote", - "-T", "-", "--no-recursion", NULL); + "--no-recursion", "-T", "-", NULL); ohshite(_("unable to execute %s (%s)"), "tar -cf", TAR); } close(p1[0]); |