cookutils rev 885

cook: fix copy_generic_files (for double copy)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 28 18:32:09 2017 +0100 (2017-02-28)
parents b96073636c77
children 9b02985442a0
files cook
line diff
     1.1 --- a/cook	Wed Feb 22 19:00:35 2017 +0100
     1.2 +++ b/cook	Tue Feb 28 18:32:09 2017 +0100
     1.3 @@ -1189,7 +1189,7 @@
     1.4  	for i in $@; do
     1.5  		for j in $(find . -name $i ! -type d); do
     1.6  			mkdir -p  $fs$(dirname ${j#.})
     1.7 -			cp -al $j $fs$(dirname ${j#.})
     1.8 +			cp -a $j $fs$(dirname ${j#.})
     1.9  		done
    1.10  	done
    1.11  	cd - >/dev/null
    1.12 @@ -1207,7 +1207,7 @@
    1.13  	for i in $@; do
    1.14  		for j in $(find . -name $i -type d); do
    1.15  			mkdir -p  $fs$(dirname ${j#.})
    1.16 -			cp -al $j $fs$(dirname ${j#.})
    1.17 +			cp -a $j $fs$(dirname ${j#.})
    1.18  		done
    1.19  	done
    1.20  	cd - >/dev/null