Added IFS= for line

This commit is contained in:
Htylol 2024-09-18 03:05:31 +05:00
parent 62c3497b27
commit 34b8e0d59c

@ -151,9 +151,8 @@ EOF
po_file="${PORT_WINE_PATH}/data/locales/$LANGUAGE/LC_MESSAGES/PortProton.po" po_file="${PORT_WINE_PATH}/data/locales/$LANGUAGE/LC_MESSAGES/PortProton.po"
fi fi
while [[ ! "$line" =~ msgid ]]; do while IFS= read -r line ; do
read -r line while [[ "$line" =~ msgid ]] ; do
while [[ "$line" =~ msgid ]]; do
unset msgid unset msgid
msgid="$line" msgid="$line"
read -r line read -r line