Mercurial > trustbridge
diff packaging/getxt-gen-l10n-array.sh @ 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 | 3a9b0c75f5a6 |
children | 069f5e5344f6 |
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 ) }