diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-01-01 01:47:58 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-01-01 01:47:58 +0100 |
commit | ec6276378e9ba0ef36301d3f8c91113c282d0384 (patch) | |
tree | 7c801301195364158e34ef560debf79686aabdad /bin/build-package | |
parent | a25b21a27c99430f16912b351b5f201ec6fed396 (diff) | |
download | buildscripts-ec6276378e9ba0ef36301d3f8c91113c282d0384.tar.gz buildscripts-ec6276378e9ba0ef36301d3f8c91113c282d0384.tar.bz2 buildscripts-ec6276378e9ba0ef36301d3f8c91113c282d0384.zip |
when building for nightly area, include package source of the main area
Diffstat (limited to 'bin/build-package')
-rwxr-xr-x | bin/build-package | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/build-package b/bin/build-package index eac058e..86ffd71 100755 --- a/bin/build-package +++ b/bin/build-package @@ -212,8 +212,12 @@ build_packages() { dch --distribution $VERSION --force-distribution -l "+$l_CODENAME~$COMPONENT$DATE~$GITREV~build" "Auto-built $l_DIST $l_CODENAME package for $REPOS_SERVER repository." mkdir -p $PKGDIST/$l_DIST/$l_CODENAME/{amd64,i386} OTHERMIRROR="" - echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT" - + if [ "x$COMPONENT" = "x$COMPONENT_NIGHTLY" ]; then + echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME main $COMPONENT" + else + echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT" + fi + [ "x$USE_SUDO" != "xyes" ] && { [ "x$EXTRA_ARCHS_ONLY" = "x" ] && { [ "x$SKIP_ARCH" != "xamd64" ] && cat debian/control | egrep 'Architecture.*(all|any|amd64)' >/dev/null && { |