From 6eff7be49add1d28a32697b9dfa51c49e5e8ed2a Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Fri, 20 Apr 2012 18:09:40 +0000
Subject: [PATCH] Avoid catching comments in countries.txt

---
 apps/routerconsole/java/bundle-messages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/routerconsole/java/bundle-messages.sh b/apps/routerconsole/java/bundle-messages.sh
index dd3ea83224..bdb52c07c1 100755
--- a/apps/routerconsole/java/bundle-messages.sh
+++ b/apps/routerconsole/java/bundle-messages.sh
@@ -38,7 +38,7 @@ then
 	mkdir -p build
         echo '// Automatically generated pseudo-java for xgettext - do not edit' > $JFILE
 	echo '// Translators may wish to translate a few of these, do not bother to translate all of them!!' >> $JFILE
-	sed 's/..,\(..*\)/_("\1");/' $CFILE >> $JFILE
+	sed -e '/#/d' -e 's/..,\(..*\)/_("\1");/' $CFILE >> $JFILE
 fi
 
 # list specific files in core/ and router/ here, so we don't scan the whole tree
-- 
GitLab