Browse Source

tde-l10n_split_desktop: Take care of section names containing slashes.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 2 years ago
parent
commit
1215cfd777
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668
  1. 1
      conversions/tde-l10n/tde-l10n_split_desktop

1
conversions/tde-l10n/tde-l10n_split_desktop

@ -136,6 +136,7 @@ while read L; do
printf "%s\n" "${DO#|}" | tr "|" "\n" |
while read D; do
sed -n "s|^\[\(.*\)\]$|\1|p" "$D" | \
sed -e 's|/|\\\\/|g' | \
while read S; do
# process variables
sed -n "/^\[$S\]/,/^\[/s|^\([^#\[][^\[]*\)\[$L\][ ]*=.*|\1|p" "$D" | \

Loading…
Cancel
Save