Changeset 2238


Ignore:
Timestamp:
Jun 21, 2009, 4:39:35 AM (10 years ago)
Author:
bruno
Message:

MINDI_CACHE is only purged if a real work is asked to mindi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2228 r2238  
    24412441    Die "MINDI_CACHE undefined"
    24422442fi
    2443 rm -rf $MINDI_CACHE/* 2> /dev/null
    2444 mkdir -p $MINDI_CACHE
    24452443
    24462444if [ "$1" = "--printvar" ] ; then
     
    26852683        export MINDI_TMP=$MONDO_TMP
    26862684        mkdir -p $MINDI_TMP
     2685
    26872686        # This is the scratch dir in mondo - subdir images
    26882687        MINDI_CACHE=$3
    2689         if [ _"$MINDI_CACHE" != _"" ]; then
    2690             mkdir -p $MINDI_CACHE
    2691         fi
     2688
    26922689        kernelpath=$4; [ "$kernelpath" = "(null)" ] && kernelpath=""
    26932690###
     
    27602757    fi
    27612758fi
     2759
     2760if [ _"$MINDI_CACHE" != _"" ]; then
     2761    rm -rf $MINDI_CACHE/* 2> /dev/null
     2762    mkdir -p $MINDI_CACHE
     2763fi
     2764
    27622765[ "$CDRECOVERY" = "yes" ] || CDRECOVERY=no
    27632766
Note: See TracChangeset for help on using the changeset viewer.