Changeset 1781 in MondoRescue


Ignore:
Timestamp:
Nov 9, 2007, 9:03:48 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Do not copy udev files if they do not exist
  • Fix syntax error in bkphw (end)
Location:
branches/2.2.5/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1764 r1781  
    27952795        cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null
    27962796        if [ -x /sbin/udevd ]; then
    2797             lis=`grep -Ev '^#' $MINDI_CONF/udev.files`
     2797            lis2=`grep -Ev '^#' $MINDI_CONF/udev.files`
     2798            lis=""
     2799            # Get only the files which exist in that list
     2800            for i in $lis2; do
     2801                if [ -f $i ]; then
     2802                    lis="$lis $i"
     2803                fi
     2804            done
     2805            # And their deps
    27982806            LocateDeps $lis > $MINDI_TMP/udev.lis
    27992807            for i in $lis; do
  • branches/2.2.5/mindi/mindi-bkphw

    r1777 r1781  
    5555        if ($tool =~ /\/conrep$/) {
    5656            $ret = system("cd $tooldir ; $tool -s -f$bkpdir/conrep.dat");
    57             print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat)\n");
     57            print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat)\n";
    5858            print TOOLS "$tool.xml\n";
    5959        }
    6060        if ($tool =~ /\/cpqacuxe$/) {
    6161            $ret = system("$tool -c $bkpdir/cpqacuxe.dat");
    62             print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat\n");
     62            print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat\n";
    6363            print TOOLS "$tooldir/bld\n";
    6464        }
     
    6868        }
    6969        if ($tool =~ /\.scexe$/) {
    70             print SCRIPT "$tool\n");
     70            print SCRIPT "$tool\n";
    7171        }
    7272        if ($ret != 0) {
Note: See TracChangeset for help on using the changeset viewer.