Rename .lilo extension to .lkrn and updated dependencies

This commit is contained in:
Marty Connor
2007-07-06 08:04:06 -04:00
parent b3ca73c303
commit 28d8d828b3
6 changed files with 17 additions and 57 deletions
+6 -6
View File
@@ -2,9 +2,9 @@
#
# Generate a legacy floppy emulation ISO boot image
#
# genliso foo.liso foo.zlilo
# genliso foo.liso foo.lkrn
#
# the ISO image is the first argument so that a list of .zlilo images
# the ISO image is the first argument so that a list of .lkrn images
# to include can be specified
#
case $0 in
@@ -16,12 +16,12 @@ case $0 in
esac
case $# in
0|1)
echo Usage: $0 foo.liso foo.zlilo ...
echo Usage: $0 foo.liso foo.lkrn ...
exit 1
;;
esac
case "`mtools -V`" in
Mtools\ version\ 3.9.9*|Mtools\ version\ 4.*)
Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|Mtools\ version\ 4.*)
;;
*)
echo Mtools version 3.9.9 or later is required
@@ -57,9 +57,9 @@ do
fi
# shorten name for 8.3 filesystem
b=$(basename $f)
g=${b%.zlilo}
g=${b%.lkrn}
g=${g//[^a-z0-9]}
g=${g:0:8}.zli
g=${g:0:8}.krn
case "$first" in
"")
echo DEFAULT $g