support des versions de l'AMUE du style 450lz2

This commit is contained in:
Jephté Clain 2014-07-07 15:45:14 +04:00
parent e0220c0877
commit 6d63e4b64c
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
41
42

View File

@ -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"]
}