mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 08:50:06 +00:00
er7_util header files not being installed
Added a makefile install rule to copy the header files out of er7_utils to the install directory. Adjusted ICG to ignore Trick header files if they are installed. refs #246
This commit is contained in:
@ -78,7 +78,7 @@ static void _mkdir(const char *dir) {
|
||||
if(*p == '/') {
|
||||
*p = 0;
|
||||
if ( stat( tmp , &buf ) != 0 ) {
|
||||
if ( mkdir(tmp, S_IRWXU) != 0 ) {
|
||||
if ( mkdir(tmp, S_IRWXU | S_IRWXG | S_IRWXO ) != 0 ) {
|
||||
std::cout << "[31mUnable to create " << tmp << " for writing.[00m" << std::endl ;
|
||||
return ;
|
||||
}
|
||||
@ -86,7 +86,7 @@ static void _mkdir(const char *dir) {
|
||||
*p = '/';
|
||||
}
|
||||
if ( stat( tmp , &buf ) != 0 ) {
|
||||
if ( mkdir(tmp, S_IRWXU) ) {
|
||||
if ( mkdir(tmp, S_IRWXU | S_IRWXG | S_IRWXO) ) {
|
||||
std::cout << "[31mUnable to create " << tmp << " for writing.[00m" << std::endl ;
|
||||
return ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user