BUG: putenv syntax was wrong and caused a crash on the SGI
This commit is contained in:
parent
50db27739c
commit
a37157624b
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user