Ignore:
Timestamp:
Feb 26, 2007, 2:04:43 PM (14 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-archive.c

    r1193 r1213  
    7777extern FILE *g_tape_stream;
    7878extern long long g_tape_posK;
    79 extern char *g_mondo_home;
    8079extern char *g_tmpfs_mountpt;
    8180extern bool g_cd_recovery;
     
    347346        mr_asprintf(&zipparams, "-Z -P %s -G %d -T 3k", bkpinfo->zip_exe,
    348347                 bkpinfo->compression_level);
    349         mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home);
     348        mr_asprintf(&tmp, "%s/do-not-compress-these", MONDO_SHARE);
    350349        if (does_file_exist(tmp)) {
    351350            mr_asprintf(&tmp1, " -E +%s", tmp);
     
    35863585    mr_free(cdno_fname);
    35873586
    3588     mr_asprintf(&tmp, "cp -f %s/autorun %s/", g_mondo_home,
     3587    mr_asprintf(&tmp, "cp -f %s/autorun %s/", MONDO_SHARE,
    35893588             bkpinfo->scratchdir);
    35903589    if (run_program_and_log_output(tmp, FALSE)) {
Note: See TracChangeset for help on using the changeset viewer.