Changeset 3165


Ignore:
Timestamp:
Jul 25, 2013, 8:06:44 AM (6 years ago)
Author:
bruno
Message:
  • Fix test condition for creation temp/scratch dir in order to avoid recreating them if they are alredy correctly setup. Fixes #640.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-devices.c

    r3154 r3165  
    27942794        }
    27952795        /*  if modified to another path */
    2796         if (strstr(bkpinfo->tmpdir,"mondo.tmp.") != NULL) {
     2796        if (strstr(bkpinfo->tmpdir,"mondo.tmp.") == NULL) {
    27972797            setup_tmpdir(bkpinfo->tmpdir);
    27982798        }
     
    28052805        }
    28062806        /*  if modified to another path */
    2807         if (strstr(bkpinfo->scratchdir,"mondo.scratch.") != NULL) {
     2807        if (strstr(bkpinfo->scratchdir,"mondo.scratch.") == NULL) {
    28082808            setup_scratchdir(bkpinfo->scratchdir);
    28092809        }
Note: See TracChangeset for help on using the changeset viewer.