cookutils rev 46

cooker: dont use --delete with rsync, we will clean stuff/* with a function
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 07 04:20:42 2011 +0200 (2011-05-07)
parents 7fc260d77233
children 7583ee5ca495
files cooker
line diff
     1.1 --- a/cooker	Sat May 07 04:04:37 2011 +0200
     1.2 +++ b/cooker	Sat May 07 04:20:42 2011 +0200
     1.3 @@ -358,7 +358,7 @@
     1.4  		if [ "$new" -gt "$cur" ]; then
     1.5  			echo "Changes found from: $cur to $new" | log
     1.6  			echo "Syncing build wok with Hg wok..." | log_commits
     1.7 -			rsync -r -t -c -l -u -p -v -D -E --delete ${wok}-hg/ $wok/ | \
     1.8 +			rsync -r -t -c -l -u -p -v -D -E ${wok}-hg/ $wok/ | \
     1.9  				sed '/^$/'d | log_commits
    1.10  		else
    1.11  			echo "No revision changes: $cur vs $new" | log