summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_apt')
-rwxr-xr-xscripts/build/chroot_apt4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index 4888ebd9c..21f53b35c 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -152,7 +152,7 @@ case "${1}" in
progress-linux)
if [ ! -e chroot/etc/apt/preferences.d/progress-linux.pref ]
then
- _DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | sed -e 's|-backports||')"
+ _DISTRIBUTION="$(echo ${LB_DISTRIBUTION_BINARY} | sed -e 's|-backports||')"
_ENABLE_DISTRIBUTIONS="${_DISTRIBUTION}"
_DISABLE_DISTRIBUTIONS=""
@@ -167,7 +167,7 @@ case "${1}" in
_ENABLE_DISTRIBUTIONS="${_ENABLE_DISTRIBUTIONS} ${_DISTRIBUTION}-updates"
fi
- case "${LB_DISTRIBUTION}" in
+ case "${LB_DISTRIBUTION_BINARY}" in
*-backports)
if [ "${LB_BACKPORTS}" = "true" ]
then