summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackSTGZGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-14 15:28:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-14 15:28:40 (GMT)
commit3bce601c41b8487a18417e32b75c0e22f0750bbc (patch)
tree8dc47a279806741f6fa4ab14a702614e364c4684 /Source/CPack/cmCPackSTGZGenerator.cxx
parent2d29e48726235b71db6e38481dd537fb9eb75876 (diff)
downloadCMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.zip
CMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.tar.gz
CMake-3bce601c41b8487a18417e32b75c0e22f0750bbc.tar.bz2
ENH: Improved support for icons, random directories, etc...
Diffstat (limited to 'Source/CPack/cmCPackSTGZGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackSTGZGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx
index 64e4b76..4cce556 100644
--- a/Source/CPack/cmCPackSTGZGenerator.cxx
+++ b/Source/CPack/cmCPackSTGZGenerator.cxx
@@ -51,7 +51,7 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
<< "# take the archive portion of this file and pipe it to tar" << std::endl
<< "# the NUMERIC parameter in this command should be one more" << std::endl
<< "# than the number of lines in this header file" << std::endl
- << "tail +18 $0 | gunzip | tar xf -" << std::endl
+ << "tail +18 \"$0\" | gunzip | tar xf -" << std::endl
<< "" << std::endl
<< "exit 0" << std::endl
<< "echo \"\"" << std::endl