Changeset 19327

Show
Ignore:
Timestamp:
06.05.2009 10:57:13 (10 years ago)
Author:
oranfry
Message:

improved error message after changed behavior

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/linux/wrapper.cpp

    r19034 r19327  
    3232    succeeded = ( 0 == system( ("mkdir " + tempdir).c_str() ) ); 
    3333    if ( !succeeded ) { 
    34         cout << "Failed to write to create the temp directory '" << tempdir << "'" << endl; 
    35         cout << "Check that it does not already exist and try again" << endl; 
     34        cout << "Failed to create the temp directory '" << tempdir << "'. " << 
     35         "Check that it does not already exist. Also check that you have write " << 
     36         "permissions to '" << scratch << "', or set the environment variable TMPDIR to " << 
     37         "a directory where you do have write permissions." << 
     38         endl; 
     39 
    3640        cout << "Exiting" << endl; 
    3741        return 1;