diff options
author | vapier <vapier> | 2008-03-23 13:16:19 +0000 |
---|---|---|
committer | vapier <vapier> | 2008-03-23 13:16:19 +0000 |
commit | 5222a7bd19d7140ac9f07a863e6f6736ed209b9f (patch) | |
tree | 55ed9cedf1fc44c32ac2162270be31b7cf78f90c | |
parent | generate a locale-archive by default ... this is much slower at build time as... (diff) | |
download | locale-gen-5222a7bd19d7140ac9f07a863e6f6736ed209b9f.tar.gz locale-gen-5222a7bd19d7140ac9f07a863e6f6736ed209b9f.tar.bz2 locale-gen-5222a7bd19d7140ac9f07a863e6f6736ed209b9f.zip |
simplify version handling a little
-rwxr-xr-x | locale-gen | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -44,10 +44,9 @@ show_usage() { exit 1 } show_version() { - local Header="" - local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.24 2007/12/29 21:34:46 vapier Exp $" - cvsver=${cvsver##*locale-gen,v } - echo "locale-gen-${cvsver%% *}" + local b="(" a=")" + local cvsver="$Revision: 1.25 $b $Date: 2008/03/23 13:16:19 $a" + echo "locale-gen-${cvsver//: }" exit 0 } |