1 |
Closes: https://bugs.gentoo.org/885719 |
2 |
Signed-off-by: Sam James <sam@g.o> |
3 |
--- |
4 |
eclass/unpacker.eclass | 2 +- |
5 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6 |
|
7 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
8 |
index 11f04fde7226..5ce681ebaa0d 100644 |
9 |
--- a/eclass/unpacker.eclass |
10 |
+++ b/eclass/unpacker.eclass |
11 |
@@ -487,7 +487,7 @@ unpack_gpkg() { |
12 |
local dirname=${images[0]%/*} |
13 |
mkdir -p "${dirname}" || die |
14 |
tar -xOf "${gpkg}" "${images[0]}" | ${decomp:-cat} | |
15 |
- tar --no-same-owner -xC "${dirname}" |
16 |
+ tar --no-same-owner -C "${dirname}" -xf - |
17 |
assert "Unpacking ${gpkg} failed" |
18 |
} |
19 |
|
20 |
-- |
21 |
2.39.0 |