1 diff -urNp lilo-22.7.orig/mkrescue lilo-22.7/mkrescue
2 --- lilo-22.7.orig/mkrescue 2004-11-16 09:50:08.000000000 +0100
3 +++ lilo-22.7/mkrescue 2005-10-05 16:10:03.000000000 +0200
4 @@ -80,13 +80,13 @@ else
12 -mount=$tmp/mkrescue-flp
13 -mfile=$tmp/mkrescue-emu
14 -mtemp=$tmp/mkrescue-tmp
15 +tmpbase=${TMPDIR:-/tmp}/mkrescue_$$
16 +mount=$tmpbase/mkrescue-flp
17 +mfile=$tmpbase/mkrescue-emu
18 +mtemp=$tmpbase/mkrescue-tmp
22 @@ -179,7 +179,11 @@ then
25 umount $mount 2>/dev/null
26 -rm -rf $mount $mfile 2>/dev/null
27 +rm -rf $tmpbase 2>/dev/null
29 + echo "Could not create temporary directory."
34 while [ $# -gt 0 ]; do
35 @@ -678,7 +682,7 @@ elif [ "$fast" = fast ]; then
38 if [ $debug != true ]; then