summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-02 15:20:58 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-02 15:20:58 (GMT)
commitd342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4 (patch)
tree31ee8a0969c5a3538d178a9dfa207f6fc26838dd /Source/CPack/cpack.cxx
parentc0fe6aa97af5fa668fecf839e3baaafe4ffc2ad0 (diff)
downloadCMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.zip
CMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.tar.gz
CMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.tar.bz2
ENH: Add ZIP generator and add support for including or excluding the toplevel directory
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index c44959a..8dff672 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -338,7 +338,7 @@ int main (int argc, char *argv[])
<< generator.c_str() << std::endl);
parsed = 0;
}
- if ( !cpackGenerator->Initialize(gen, mf) )
+ if ( parsed && !cpackGenerator->Initialize(gen, mf) )
{
parsed = 0;
}