diff options
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-x | scripts/build/chroot_archives | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 5d005b23c..fc5cc78d6 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -37,7 +37,7 @@ Require_stagefile .build/config .build/bootstrap case "${LB_DERIVATIVE}" in true) _PARENT_FILE="sources.list.d/debian.list" - ;; + ;; false) _PARENT_FILE="sources.list" @@ -62,10 +62,10 @@ case "${1}" in # Configure custom sources.list -if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/' -then - Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')" -fi + if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/' + then + Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')" + fi cat > chroot/etc/apt/${_PARENT_FILE} << EOF deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS} |