Changeset 97 in MondoRescue for branches/2.04_berlios/mindi/mindi
- Timestamp:
- Nov 4, 2005, 11:51:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.04_berlios/mindi/mindi
r37 r97 117 117 which strings > /dev/null 2> /dev/null || Die "Please install binutils and libbinutils; you have no 'strings' executable." 118 118 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`" 120 120 if which awk &> /dev/null ; then 121 121 if ! which gawk &> /dev/null ; then … … 296 296 copy_to=$1 297 297 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` 300 300 if [ $liloc ]; then 301 301 if ! [ `strings $liloc | grep "boot\.b"` ]; then … … 936 936 GetHomeDir() { 937 937 local res loc 938 loc=`which $1 `938 loc=`which $1 2>/dev/null` 939 939 res=`file $loc | $AWK '{print $NF;}'` 940 940 dirname $res
Note:
See TracChangeset
for help on using the changeset viewer.