cookutils rev 37
cooker: preserve permissions while sysncing wok's with rsync
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 06 21:43:14 2011 +0200 (2011-05-06) |
parents | c042c0f4c34d |
children | a491bec2d20a |
files | cooker |
line diff
1.1 --- a/cooker Fri May 06 21:30:57 2011 +0200 1.2 +++ b/cooker Fri May 06 21:43:14 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 -v -D -E --delete ${wok}-hg/ $wok/ | \ 1.8 + rsync -r -t -c -l -u -p -v -D -E --delete ${wok}-hg/ $wok/ | \ 1.9 sed '/^$/'d | log_commits 1.10 else 1.11 echo "No revision changes: $cur vs $new" | log