support des versions de l'AMUE du style 450lz2
This commit is contained in:
parent
e0220c0877
commit
6d63e4b64c
|
@ -1 +1 @@
|
|||
41
|
||||
42
|
||||
|
|
|
@ -1739,7 +1739,7 @@ function get_archive_appname() {
|
|||
print substr($0, 1, RSTART - 1)
|
||||
} else if (match($0, /([0-9]+([-_.][0-9]+)*([a-zA-Z][0-9]*|[-_.][0-9]+[a-zA-Z][0-9]*)?)$/)) {
|
||||
print substr($0, 1, RSTART - 1)
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z]?)$/, vs)) {
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z0-9]?)$/, vs)) {
|
||||
# version style AMUE, e.g. 430la
|
||||
print substr($0, 1, RSTART - 1)
|
||||
} else {
|
||||
|
@ -1758,7 +1758,7 @@ function get_archive_versionsuffix() {
|
|||
print vs["1"]
|
||||
} else if (match($0, /([0-9]+([-_.][0-9]+)*([a-zA-Z][0-9]*|[-_.][0-9]+[a-zA-Z][0-9]*)?)$/, vs)) {
|
||||
print vs["1"]
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z]?)$/, vs)) {
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z0-9]?)$/, vs)) {
|
||||
# version style AMUE, e.g. 430la
|
||||
print vs["1"]
|
||||
}
|
||||
|
@ -1775,7 +1775,7 @@ function get_archive_version() {
|
|||
print vs["1"]
|
||||
} else if (match($0, /([0-9]+([-_.][0-9]+)*([a-zA-Z][0-9]*|[-_.][0-9]+[a-zA-Z][0-9]*)?)$/, vs)) {
|
||||
print vs["1"]
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z]?)$/, vs)) {
|
||||
} else if (match($0, /([0-9]+[a-z][a-z][a-z0-9]?)$/, vs)) {
|
||||
# version style AMUE, e.g. 430la
|
||||
print vs["1"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue