tazlito rev 196
tazlito: typo in stat -c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 19 11:41:39 2010 +0100 (2010-12-19) |
parents | a395e46e36ed |
children | f86b2091167a |
files | tazlito |
line diff
1.1 --- a/tazlito Sun Dec 19 11:38:36 2010 +0100 1.2 +++ b/tazlito Sun Dec 19 11:41:39 2010 +0100 1.3 @@ -251,7 +251,7 @@ 1.4 status 1.5 fi 1.6 if [ -s /etc/tazlito/info ]; then 1.7 - if [ $(stat -c /etc/tazlito/info) -lt $(( 31 * 1024 )) ]; then 1.8 + if [ $(stat -c %s /etc/tazlito/info) -lt $(( 31*1024 )) ]; then 1.9 echo -n "Storing ISO info..." 1.10 dd if=/etc/tazlito/info bs=1k seek=1 of=$1 \ 1.11 conv=notrunc 2> /dev/null