summaryrefslogtreecommitdiff
path: root/bin/build-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-01-01 01:55:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-01-01 01:55:31 +0100
commit9d76539e72b69a041d670f2c8fb41d8befd51ef4 (patch)
treed44d1bb2f3ea327b5e9a8271c8bc40db8f45f4b3 /bin/build-package
parent0623bb8891890bda7ef49c26cb1e6587f21ed06f (diff)
downloadbuildscripts-9d76539e72b69a041d670f2c8fb41d8befd51ef4.tar.gz
buildscripts-9d76539e72b69a041d670f2c8fb41d8befd51ef4.tar.bz2
buildscripts-9d76539e72b69a041d670f2c8fb41d8befd51ef4.zip
use variable instead of hard-coded main archive area
Diffstat (limited to 'bin/build-package')
-rwxr-xr-xbin/build-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-package b/bin/build-package
index f7ad0b9..e47e3c0 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -213,7 +213,7 @@ build_packages() {
mkdir -p $PKGDIST/$l_DIST/$l_CODENAME/{amd64,i386}
OTHERMIRROR=""
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"
+ echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT_MAIN $COMPONENT"
else
echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT"
fi