linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0004-tar-Default-to-stdin.patch
(721B)
1 From 7f16d268831910c1d219b8a4f38b364bba34c710 Mon Sep 17 00:00:00 2001
2 From: Michael Forney <mforney@mforney.org>
3 Date: Mon, 18 Apr 2016 01:16:12 -0700
4 Subject: [PATCH] tar: Default to stdin
5
6 ---
7 bin/pax/options.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/bin/pax/options.c b/bin/pax/options.c
11 index cd3f5f6285c..9dd2ea0ce25 100644
12 --- a/bin/pax/options.c
13 +++ b/bin/pax/options.c
14 @@ -968,7 +968,7 @@ tar_options(int argc, char **argv)
15 if ((arcname == NULL) || (*arcname == '\0')) {
16 arcname = getenv("TAPE");
17 if ((arcname == NULL) || (*arcname == '\0'))
18 - arcname = _PATH_DEFTAPE;
19 + arcname = "-";
20 }
21 if ((arcname[0] == '-') && (arcname[1]== '\0'))
22 arcname = NULL;
23 --
24 2.49.0
25