+#!/bin/bash
# Make sure changes merged after patch creation are applied.
set -exu
export EMAIL="sandbox@jenkins.opendaylight.org"
# TODO: Is there a more appropriate e-mail?
export GIT_COMMITTER_NAME="Rebase Macro"
-git rebase "origin/${BRANCH}"
+git rebase "origin/${DISTROBRANCH}"
cd "${WORKSPACE}"