Permalink
Browse files

getversion: fix the directory name

The directory name is "munin-c-X.Y.Z" and not "munin-X.Y.Z"
  • Loading branch information...
1 parent 9ebf8c8 commit 7dcda2c50ec6c258662651047344f137cadc3776 @steveschnepp steveschnepp committed Jan 18, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 getversion
View
@@ -60,7 +60,8 @@ EOF
}
generate_version_string_from_dir() {
- basename $(pwd) | grep -e '^munin-' | cut -c7-
+ # munin-c- is "9" chars, not 7 as munin- is.
+ basename $(pwd) | grep -e '^munin-c' | cut -c9-
}
if [ -s "RELEASE" ]; then

0 comments on commit 7dcda2c

Please sign in to comment.