Show the current file when there is a tar error
This commit is contained in:
parent
eb7e4498c4
commit
28664b96f7
|
@ -2052,6 +2052,8 @@ bool extract_tar(const char* outFileName, bool verbose,
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Problem with archive_write_header(): ",
|
cmSystemTools::Error("Problem with archive_write_header(): ",
|
||||||
archive_error_string(a));
|
archive_error_string(a));
|
||||||
|
cmSystemTools::Error("Curren file:",
|
||||||
|
archive_entry_pathname(entry));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue