Ignore:
Timestamp:
Feb 26, 2007, 2:04:43 PM (18 years ago)
Author:
Bruno Cornec
Message:

Removal of g_mondo_home useless and used MONDO_SHARE instead

File:
1 edited

Legend:

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

    r1184 r1213  
    4747 */
    4848static char *g_boot_mountpt = NULL;
    49 
    50 /**
    51  * The location of Mondo's home directory.
    52  */
    53 char *g_mondo_home = NULL;
    5449
    5550/**
     
    685680
    686681    run_program_and_log_output("rm -Rf /tmp/changed.files*", FALSE);
    687     if (find_and_store_mondoarchives_home(g_mondo_home)) {
    688         fprintf(stderr,
    689                 "Cannot find Mondo's homedir. I think you have >1 'mondo' directory on your hard disk. Please delete the superfluous 'mondo' directories and try again\n");
    690         res++;
    691         return (res);
    692682    }
    693683    res += some_basic_system_sanity_checks();
     
    12201210        iamhere("Malloc'ing globals");
    12211211        malloc_string(g_boot_mountpt);
    1222         malloc_string(g_mondo_home);
    12231212        malloc_string(g_tmpfs_mountpt);
    12241213        malloc_string(g_erase_tmpdir_and_scratchdir);
     
    12281217        iamhere("Freeing globals");
    12291218        mr_free(g_boot_mountpt);
    1230         mr_free(g_mondo_home);
    12311219        mr_free(g_tmpfs_mountpt);
    12321220        mr_free(g_erase_tmpdir_and_scratchdir);
Note: See TracChangeset for help on using the changeset viewer.