X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvesync;h=1107205741beaaa9653f45aabbb33906fddb3f1b;hb=1ac306fc7a51d46f1c39be210357f5d3f255de67;hp=6418239b9b8c1ab9f8bba929678eb6e12271d1a5;hpb=3597c75084e7f41d64bc251e20ef5d33bb09ea06;p=util-vserver.git diff --git a/scripts/vesync b/scripts/vesync index 6418239..1107205 100755 --- a/scripts/vesync +++ b/scripts/vesync @@ -75,17 +75,15 @@ VSOMETHING_PKGMGMT=1 export VSOMETHING_TITLE VSOMETHING_PKGMGMT -test ${#vsomething_opts[@]} -eq 0 || vsomething_opts=( "${vsomething_opts[@]}" -- ) - ret=0 test $overlay_only -eq 0 && \ - $_VSOMETHING "${send_through[@]}" emerge "${vsomething_opts[@]}" --metadata + $_VSOMETHING "${send_through[@]}" emerge "${vsomething_opts[@]}" "$@" -- --metadata ret=$? test -n "$overlay" -a -n "$overlay_host" && \ - $_VSOMETHING "${send_through[@]}" rsync "${vsomething_opts[@]}" \ + $_VSOMETHING "${send_through[@]}" rsync "${vsomething_opts[@]}" "$@" -- \ -rtW --progress --delete --delete-after "${overlay_host}/" "${overlay}/" test $? -eq 0 -a $ret -eq 0