tazlito rev 326 5.1.3

typo with find
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 22:48:24 2014 +0100 (2014-01-05)
parents c8c0feca4b36
children 133b1e8b4aab
files tazlito
line diff
     1.1 --- a/tazlito	Sun Jan 05 11:30:04 2014 +0000
     1.2 +++ b/tazlito	Sun Jan 05 22:48:24 2014 +0100
     1.3 @@ -531,7 +531,7 @@
     1.4  	done
     1.5  
     1.6  	# cleanup directories
     1.7 -	( cd $1; find -type d ) | sed '1!G;h;$!d' | while read file; do
     1.8 +	( cd $1; find . -type d ) | sed '1!G;h;$!d' | while read file; do
     1.9  		[ -d $2/$file ] && rmdir $2/$file 2> /dev/null
    1.10  	done
    1.11  	true