Commit ff39debb authored by Julian Wiesener's avatar Julian Wiesener

allow override for git fetch

parent 7c288265
......@@ -54,10 +54,14 @@ if ! [ -d "${SRCDIR}" ]; then
fi
fi
if [ -z "${GIT_FETCH}" ]; then
GIT_FETCH="git fetch"
fi
SRCDIR="${BUILDDIR}/${SRCDIR}"
cd "${SRCDIR}" || exit 1
if ! [ -z "${GIT_CHEKOUT}" ]; then
git fetch || exit 1
${GIT_FETCH} || exit 1
git checkout ${GIT_CHEKOUT} || exit 1
fi
if [ -f ./debian/changelog ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment