aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2012-01-29 20:00:35 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2012-01-29 21:48:17 +0100
commit745bbf0ce52c8e124ce0055a17139ea67cb8315c (patch)
tree1f0dc4dda7a4e81b4749b3c09e142dca5cb851be /po
parent72b562760e568bc4192497ab1f42790ddd288552 (diff)
downloadlogdiag-745bbf0ce52c8e124ce0055a17139ea67cb8315c.tar.gz
logdiag-745bbf0ce52c8e124ce0055a17139ea67cb8315c.tar.xz
logdiag-745bbf0ce52c8e124ce0055a17139ea67cb8315c.zip
Fix the make-template.sh script.
Diffstat (limited to 'po')
-rwxr-xr-xpo/make-template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/make-template.sh b/po/make-template.sh
index d966911..1bfd3df 100755
--- a/po/make-template.sh
+++ b/po/make-template.sh
@@ -12,7 +12,7 @@ PACKAGE=$(sed -n '/^[ \t]*[pP][rR][oO][jJ][eE][cC][tT][ \t]*([ \t]*\([^ \t)]\{1,
../CMakeLists.txt)
# Get the package version from CMakeLists.txt
-EXP_BEG='/^[ \t]*[sS][eE][tT][ \t]*([ \t]*'$PACKAGE'_VERSION_'
+EXP_BEG='/^[ \t]*[sS][eE][tT][ \t]*([ \t]*project_VERSION_'
EXP_END='[ \t]\{1,\}"\{0,1\}\([^)"]\{1,\}\)"\{0,1\}).*/{s//\1/p;q}'
MAJOR=$(sed -n "${EXP_BEG}MAJOR${EXP_END}" ../CMakeLists.txt)