Adding the source dir for rsync

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
Mohan Boddu 2019-08-01 13:08:54 -04:00
parent 0256ad65da
commit cc5105cead

View File

@ -48,6 +48,7 @@ if [ "$?" != "0" ]; then
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE/COMPOSE_ID)
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
LOCATION="https://dl.fedoraproject.org$RSYNCTARGET"
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION")