[PATCH 1 of 2] Ignore MSGID "$1", which is an artifact by the "fatal" function
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 18 18:21:22 CEST 2014
# HG changeset patch
# User Sascha Wilde <wilde at intevation.de>
# Date 1405700215 -7200
# Node ID 6e300f749a6d475d8b3c070a99cd00fceddc1425
# Parent eef8e0ca82b90a536dad4079e374163cb3a1e07d
Ignore MSGID "$1", which is an artifact by the "fatal" function.
diff -r eef8e0ca82b9 -r 6e300f749a6d packaging/getxt-gen-l10n-array.sh
--- a/packaging/getxt-gen-l10n-array.sh Tue Jul 15 19:00:39 2014 +0200
+++ b/packaging/getxt-gen-l10n-array.sh Fri Jul 18 18:16:55 2014 +0200
@@ -29,7 +29,9 @@
get_msgids()
{
while read -r id ; do
- MSGIDS+=("$id")
+ if [ "$id" != '"$1"' ] ; then
+ MSGIDS+=("$id")
+ fi
done < <( sed -n 's/.*\(getxt\|fatal\) [^"]*\("[^"]*"\).*/\2/p' "$1" | sort | uniq )
}
More information about the Trustbridge-commits
mailing list