cookutils rev 1149

modules/compressor: avoid gawk warnings
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 28 15:25:24 2021 +0000 (2021-12-28)
parents e58a083722aa
children 00665abb42f1
files modules/compressor
line diff
     1.1 --- a/modules/compressor	Tue Nov 09 15:36:25 2021 +0000
     1.2 +++ b/modules/compressor	Tue Dec 28 15:25:24 2021 +0000
     1.3 @@ -615,7 +615,7 @@
     1.4  		echo >> "$tmpfile"
     1.5  
     1.6  		# get Plural-Forms
     1.7 -		awk '
     1.8 +		busybox awk '
     1.9  		BEGIN { skip = ""; }
    1.10  		{
    1.11  			if (! skip) {
    1.12 @@ -633,7 +633,7 @@
    1.13  		fi
    1.14  
    1.15  		# main
    1.16 -		awk -v pf="$(cat "$tmpfile.pf")" '
    1.17 +		busybox awk -v pf="$(cat "$tmpfile.pf")" '
    1.18  		function clean() {
    1.19  			mode = msgctxt = msgid = msgid_plural = msgstr = msgstr0 = msgstr1 = msgstr2 = msgstr3 = msgstr4 = msgstr5 = "";
    1.20  		}