Pārlūkot izejas kodu

[util] Make mtools check detect new versions

The mtools version check does not handle GNU mtools 4.0.10.  This commit
makes the pattern more general so it matches older mtools as well as the
newer "mtools (GNU mtools) 4.0.10" string.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v0.9.9
Stefan Hajnoczi 15 gadus atpakaļ
vecāks
revīzija
0ea6e5c221
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      src/util/genliso
  2. 1
    1
      src/util/gensdsk

+ 1
- 1
src/util/genliso Parādīt failu

@@ -15,7 +15,7 @@ case $# in
15 15
 esac
16 16
 
17 17
 case "`mtools -V`" in
18
-Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|Mtools\ version\ 4.*)
18
+Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|[mM]tools\ *\ [4-9].*)
19 19
 	;;
20 20
 *)
21 21
 	echo Mtools version 3.9.9 or later is required

+ 1
- 1
src/util/gensdsk Parādīt failu

@@ -15,7 +15,7 @@ case $# in
15 15
 	;;
16 16
 esac
17 17
 case "`mtools -V`" in
18
-Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|Mtools\ version\ 4.*)
18
+Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|[mM]tools\ *\ [4-9].*)
19 19
 	;;
20 20
 *)
21 21
 	echo Mtools version 3.9.9 or later is required

Notiek ielāde…
Atcelt
Saglabāt