bin/mkbuildchroot: `$LVPREFIX$d-$a' is better spelled `$lv'.
[distorted-chroot] / bin / mkbuildchroot
index 58dc7c6..cb17ed2 100755 (executable)
@@ -152,7 +152,7 @@ case $qemup in
     ## the `--no-rename' option was required in the same version in which is
     ## was introduced, so there's no single incantation that will work across
     ## the boundary.
-    schroot -uroot -csource:$LVPREFIX$d-$a -- eatmydata sh -e -c "
+    schroot -uroot -csource:$lv -- eatmydata sh -e -c "
        if dpkg-divert >/dev/null 2>&1 --no-rename --help
        then no_rename=--no-rename
        else no_rename=
@@ -165,13 +165,13 @@ case $qemup in
     $STATE/bin/install-cross-tools $d $a
 
     ## Install `build-essential', which had been delayed from earlier.
-    schroot -uroot -csource:$LVPREFIX$d-$a -- \
+    schroot -uroot -csource:$lv -- \
            eatmydata apt-get -y install build-essential
     ;;
 esac
 
 ## Set the chroot's package state up properly.
-schroot -uroot -csource:$LVPREFIX$d-$a -- eatmydata sh -e -c '
+schroot -uroot -csource:$lv -- eatmydata sh -e -c '
        apt-get update
        apt-get -y upgrade
        locale-gen