on xenial help sign in
Delete files
commitd759fdd313280c8b0936dd507443c901b63d3229 authorAlbert Astals <albert.astals@canonical.com> dateMon 10 Jun 2013, 10:54 (13 years ago) parent053c42e
1 file changed+1−1
run_on_device+1−1
run_on_device+1−1
@@ -64,7 +64,7 @@ install_dependencies() {
6464
6565sync_code() {
6666 bzr export --uncommitted --format=dir /tmp/$CODE_DIR
67− rsync -crlOzv -e "ssh -p $TARGET_SSH_PORT -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" /tmp/$CODE_DIR/ $USER@$TARGET_IP:$CODE_DIR/
67+ rsync -crlOzv --delete --exclude builddir -e "ssh -p $TARGET_SSH_PORT -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" /tmp/$CODE_DIR/ $USER@$TARGET_IP:$CODE_DIR/
6868 rm -rf /tmp/$CODE_DIR
6969}
7070