Changeset 98 in MondoRescue for trunk/mindi/mindi


Ignore:
Timestamp:
Nov 4, 2005, 11:55:39 PM (18 years ago)
Author:
bcornec
Message:

merge -r 96:97 from 2.04 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/mindi

    r78 r98  
    117117    which strings > /dev/null 2> /dev/null || Die "Please install binutils and libbinutils; you have no 'strings' executable."
    118118    which gawk > /dev/null 2> /dev/null || Die "Gawk is missing from your computer. Please install gawk. You may find the package on Debian's website. How did I know you're running Debian? Because only Debian would be stupid enough not to include gawk in your distribution."
    119     which gawk > /dev/null 2> /dev/null && AWK=`which gawk` ||AWK="`which awk`"
     119    which gawk > /dev/null 2> /dev/null && AWK=`which gawk 2>/dev/null` || AWK="`which awk 2>/dev/null`"
    120120    if which awk &> /dev/null ; then
    121121    if ! which gawk &> /dev/null ; then
     
    296296    copy_to=$1
    297297    copy_from=/boot/boot.b
    298     liloc=`which lilo.real`
    299     [ $liloc ] || liloc=`which lilo`
     298    liloc=`which lilo.real 2>/dev/null`
     299    [ $liloc ] || liloc=`which lilo 2>/dev/null`
    300300    if [ $liloc ]; then
    301301        if ! [ `strings $liloc | grep "boot\.b"` ]; then
     
    936936GetHomeDir() {
    937937    local res loc
    938     loc=`which $1`
     938    loc=`which $1 2>/dev/null`
    939939    res=`file $loc | $AWK '{print $NF;}'`
    940940    dirname $res
Note: See TracChangeset for help on using the changeset viewer.