3 for i
in "sed" "rm" "cp" "mkdir" "gcc" "nasm" "ld" "mformat" "mcopy" "qemu"
5 echo -n "Checking $i: "
6 if ! which $i 2> /dev
/null
; then
13 if [ ! -f ~
/.mtoolsrc
]; then
14 echo "creating a mtools configuration files : ~/.mtoolsrc"
15 cat <<EOF > ~/.mtoolsrc
17 drive a: file="/tmp/floppy.image"
20 echo "You already have a mtools configuration files : ~/.mtoolsrc"
21 echo "Please move this files and run this script again."
26 echo "Done with the configuration!"
27 echo "run make or BUILD=elf make"