Ignore:
Timestamp:
Mar 21, 2007, 12:48:32 PM (17 years ago)
Author:
Bruno Cornec
Message:

Begining of work on conf file introduction in mondo

  • create a new struct mr_ar_conf to store conf info
  • adds a static mr_ar_store_conf function to store conf file info in that struc
  • mondo.conf is now the .dist version
  • md5 not done yet

Not tested may not work at all nor compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-archive.c

    r1213 r1256  
    1919#include "my-stuff.h"
    2020#include "mondostructures.h"
     21
    2122#include "mr_conf.h"
    2223#include "mr_mem.h"
     
    39003901    char *tmp = NULL;
    39013902    char *p = NULL;
    3902     char *path_min = "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin";
     3903    char *path_min = "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin";
    39033904
    39043905    mr_setenv("MONDO_SHARE",MONDO_SHARE);
    39053906    mr_setenv("MONDORESTORECFG",MONDORESTORECFG);
    39063907    mr_setenv("MONDO_CACHE",MONDO_CACHE);
     3908    /* Add the ARCH environment variable for ia64 purposes */
     3909    mr_setenv("ARCH", get_architecture());
     3910
    39073911
    39083912    if ((p = getenv("PATH")) == NULL) {
Note: See TracChangeset for help on using the changeset viewer.