This commit is contained in:
Steven Mondji-Lerider 2012-11-09 13:21:55 +00:00
parent 05978d8333
commit 4cab24857d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
# remove version from filename by stripping the extension
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