BUG: putenv syntax was wrong and caused a crash on the SGI

This commit is contained in:
Bill Hoffman 2004-05-01 22:05:18 -04:00
parent 50db27739c
commit a37157624b

View File

@ -101,8 +101,8 @@ static const cmDocumentationEntry cmDocumentationSeeAlso[] =
int main (int argc, char *argv[]) int main (int argc, char *argv[])
{ {
cmSystemTools::EnableMSVCDebugHook(); cmSystemTools::EnableMSVCDebugHook();
cmSystemTools::PutEnv("DART_TEST_FROM_DART"); cmSystemTools::PutEnv("DART_TEST_FROM_DART=1");
cmSystemTools::PutEnv("DASHBOARD_TEST_FROM_CTEST"); cmSystemTools::PutEnv("DASHBOARD_TEST_FROM_CTEST=1");
int nocwd = 0; int nocwd = 0;
if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 ) if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 )