tazlito rev 236
tazlito/meta: fix language config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 12:33:58 2012 +0100 (2012-02-14) |
parents | aa2575df3a5b |
children | 746708e1e2f3 |
files | tazlito |
line diff
1.1 --- a/tazlito Tue Feb 14 09:31:32 2012 +0100 1.2 +++ b/tazlito Tue Feb 14 12:33:58 2012 +0100 1.3 @@ -578,7 +578,7 @@ 1.4 local files 1.5 echo -n "Updating boot config files..." 1.6 files="$(grep -l 'include common' $1/*.cfg)" 1.7 - echo $files | while read file ; do 1.8 + for file in $files ; do 1.9 awk -v n=$(echo $2 | awk '{ print NF/2 }') '{ 1.10 if (/label/) label=$0; 1.11 else if (/kernel/) kernel=$0;