diff options
author | vapier <vapier> | 2006-10-03 05:28:08 +0000 |
---|---|---|
committer | vapier <vapier> | 2006-10-03 05:28:08 +0000 |
commit | cb47c8334842d2296dfd20dfa36397da184c1058 (patch) | |
tree | 3d42ce6e9041cbdbebe99ba900c7b2934546a68e | |
parent | add support for generating locales in parallel #137706 by Brian Harring (diff) | |
download | locale-gen-cb47c8334842d2296dfd20dfa36397da184c1058.tar.gz locale-gen-cb47c8334842d2296dfd20dfa36397da184c1058.tar.bz2 locale-gen-cb47c8334842d2296dfd20dfa36397da184c1058.zip |
fix version parsing
-rwxr-xr-x | locale-gen | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -42,9 +42,10 @@ show_usage() { exit 1 } show_version() { - local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.16 2006/09/23 14:28:41 vapier Exp $" - cvsver=${cvsver##*locale-gen-} - echo "locale-gen-${cvsver%%,v *}" + local Header="" + local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.17 2006/10/03 05:28:08 vapier Exp $" + cvsver=${cvsver##*locale-gen,v } + echo "locale-gen-${cvsver%% *}" exit 0 } |