#!/bin/sh

# Mirror directory BASE_SYNC from REMOTE_WORKDIR to LOCAL_WORKDIR

set -x
set -e

REMOTE_WORKDIR=gmacario@maxlab.polito.it:~/easy-build/build-yocto-wandboard/work
LOCAL_WORKDIR=work

BASE_SYNC=build-wandboard-dual/tmp/deploy

mkdir -p ${LOCAL_WORKDIR}/${BASE_SYNC}
rsync -avz ${REMOTE_WORKDIR}/${BASE_SYNC}/ ${LOCAL_WORKDIR}/${BASE_SYNC}

# === EOF ===

Add script to mirror deploy directory from build host
Add script to mirror deploy directory from build host

Signed-off-by: Gianpaolo Macario <d50c09b51e61901a1c5054dce86f92776c198faa@mentor.com>
