Fix #1372
This commit is contained in:
parent
05978d8333
commit
4cab24857d
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
# remove version from filename by stripping the extension
|
# remove version from filename by stripping the extension
|
||||||
strip_ext() {
|
strip_ext() {
|
||||||
echo $1 | sed 's/\.[^.]*$//'
|
echo $1 | sed 's/\.[^.]*$//'| sed 's/[a-z_]*$//'
|
||||||
}
|
}
|
||||||
|
|
||||||
# find the version from a filename by stripping everything but the extension
|
# find the version from a filename by stripping everything but the extension
|
||||||
|
|
Loading…
Reference in New Issue