Fix up the 'unreleased' addition

This commit is contained in:
Steve McIntyre 2017-10-12 11:06:07 +01:00
parent aa87a2910a
commit 279c304f89
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ variant_enabled() {
# Wrapper around which_deb which looks in all relevant distributions # Wrapper around which_deb which looks in all relevant distributions
find_pkg_file() { find_pkg_file() {
local pkgfile local pkgfile
for dist in unreleased $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do for dist in $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do
pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@") pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@")
[ -n "$pkgfile" ] && break [ -n "$pkgfile" ] && break
done done