summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-13 21:07:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-13 21:07:42 (GMT)
commit28664b96f714a19aae390e10f26dac8e5459e0c2 (patch)
tree13c0fe27340bf63d6a92d995ed2b071a42a0dbf7 /Source
parenteb7e4498c4ec4cdc7727990e36372437a5884e2d (diff)
downloadCMake-28664b96f714a19aae390e10f26dac8e5459e0c2.zip
CMake-28664b96f714a19aae390e10f26dac8e5459e0c2.tar.gz
CMake-28664b96f714a19aae390e10f26dac8e5459e0c2.tar.bz2
Show the current file when there is a tar error
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index b1f999d..b16d28a 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -2052,6 +2052,8 @@ bool extract_tar(const char* outFileName, bool verbose,
{
cmSystemTools::Error("Problem with archive_write_header(): ",
archive_error_string(a));
+ cmSystemTools::Error("Curren file:",
+ archive_entry_pathname(entry));
}
else
{