From 25fd35b7adb47317da71afab2938d326d6a91c22 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:20:25 +0200 Subject: update-po{,t}.sh: Omit ../ at beginning of file names in .po(t) file(s). Signed-off-by: Mike Gabriel --- update-po.sh | 1 + update-pot.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/update-po.sh b/update-po.sh index dff6f3a..b066610 100755 --- a/update-po.sh +++ b/update-po.sh @@ -32,6 +32,7 @@ cat LINGUAS | while read lingua; do -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ + -e 's@#: \.\./@#: @g' \ -i ${lingua}.po done diff --git a/update-pot.sh b/update-pot.sh index 43a8d06..cb538a2 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -22,4 +22,5 @@ sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ + -e 's@#: \.\./@#: @g' \ -i po/${GETTEXT_DOMAIN}.pot -- cgit v1.2.3