summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-13 15:38:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-13 15:38:25 +0200
commit62d3c7fa4cfb2ed515cc76ef2c3426a092c5406f (patch)
tree2b334c169f154104befc87705ecff50e832bc140
parentd413bd4fa1ecda01d1ee2e489dc4e1af6184686b (diff)
downloadbuildscripts-62d3c7fa4cfb2ed515cc76ef2c3426a092c5406f.tar.gz
buildscripts-62d3c7fa4cfb2ed515cc76ef2c3426a092c5406f.tar.bz2
buildscripts-62d3c7fa4cfb2ed515cc76ef2c3426a092c5406f.zip
sbuild-deb-package: Fix OTHERMIRROR definition.
-rwxr-xr-xbin/sbuild-deb-package4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index e0b8a61..a479059 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -287,9 +287,9 @@ build_packages() {
mkdir -p -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/"{amd64,i386}
OTHERMIRROR=""
if [ "x${COMPONENT}" = "x${COMPONENT_NIGHTLY}" ]; then
- grep -qs "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST}-nightly ${l_CODENAME} ${COMPONENT_RELEASE}"
+ grep -qs "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST}-nightly ${l_CODENAME} main"
else
- grep "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST} ${l_CODENAME} ${COMPONENT}"
+ grep "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST} ${l_CODENAME} main"
fi
# create git changelog immediately prior to building the package
git --no-pager log --since "2 years ago" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > ChangeLog