Mercurial > trustbridge
changeset 821:6e300f749a6d
Ignore MSGID "$1", which is an artifact by the "fatal" function.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 18 Jul 2014 18:16:55 +0200 |
parents | eef8e0ca82b9 |
children | 71cdd4b2f038 |
files | packaging/getxt-gen-l10n-array.sh |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 ) }