diff --git a/icinga-build-deb-source b/icinga-build-deb-source index 050a651b0bdff6dd07418cac1001b73ce9ec60b5..481f18d423e50b1e96c1748bfe795bd94a4ac280 100755 --- a/icinga-build-deb-source +++ b/icinga-build-deb-source @@ -44,6 +44,11 @@ if [ "${ICINGA_BUILD_TYPE}" == "release" ] ; then echo "[ Downloading current tarball with uscan ]" ( set -ex + + if [ "${USCAN_DOWNLOAD}" == "no" ]; then + cp ./*.tar* "${BUILDDIR}/" + fi + cd "${BUILDDIR}/${ICINGA_BUILD_PROJECT}" run-retry-timeout uscan --download-current-version --verbose ) diff --git a/icinga-build-docker b/icinga-build-docker index 883297465491ff9f9dc5f31160a35afbe184141e..338482d78f0964d2109e7aba1ac80ad339cef8b0 100755 --- a/icinga-build-docker +++ b/icinga-build-docker @@ -48,6 +48,7 @@ trap 'rm -f ${env_file}' EXIT INT env | grep -e ^ICINGA > "${env_file}" || true env | grep -e ^APTLY >> "${env_file}" || true env | grep -e ^CI_ >> "${env_file}" || true +env | grep -e ^USCAN_ >> "${env_file}" || true echo "[ Running build in Docker ]" set -ex