summaryrefslogtreecommitdiff
path: root/Source/cmSiteNameCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-29 14:20:32 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-29 14:20:32 -0500
commit7d76de4403480dc607261c5a1067a24c667faeeb (patch)
tree4e5d4464a62b46cb6f0b151f481634259aa4b895 /Source/cmSiteNameCommand.cxx
parent0223ba91f3aad2014df152612a805d3feb676ddb (diff)
downloadcmake-7d76de4403480dc607261c5a1067a24c667faeeb.tar.gz
make sure ; expansion is done in all commands
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r--Source/cmSiteNameCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx
index 2cd18ce6d1..f91599a1f6 100644
--- a/Source/cmSiteNameCommand.cxx
+++ b/Source/cmSiteNameCommand.cxx
@@ -19,7 +19,7 @@
// cmSiteNameCommand
bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
{
- if(args.size() < 1 )
+ if(args.size() != 1 )
{
this->SetError("called with incorrect number of arguments");
return false;