tazlito diff tazlito @ rev 42
Typo in moved files loop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 21 20:29:42 2008 +0100 (2008-02-21) |
parents | 2be2a3822f02 |
children | e39ab07e893f |
line diff
1.1 --- a/tazlito Thu Feb 21 15:15:51 2008 +0100 1.2 +++ b/tazlito Thu Feb 21 20:29:42 2008 +0100 1.3 @@ -480,10 +480,10 @@ 1.4 rm .usr.sqfs 1.5 if [ -d squashfs-root/.moved ]; then 1.6 ( cd squashfs-root/.moved ; find * -print ) | \ 1.7 - while read file; do 1.8 - [ -L $file ] || continue 1.9 - rm -f $file 1.10 - mv squashfs-root/.moved/$file $file 1.11 + while read $file; do 1.12 + [ -L "$file" ] || continue 1.13 + rm -f "$file" 1.14 + mv "squashfs-root/.moved/$file" "$file" 1.15 done 1.16 rm -rf squashfs-root/.moved 1.17 fi