chiark / gitweb /
bin/mkbuildchroot: `$LVPREFIX$d-$a' is better spelled `$lv'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 13 Sep 2019 19:17:17 +0000 (20:17 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 19 Sep 2019 01:50:13 +0000 (02:50 +0100)
bin/mkbuildchroot

index 58dc7c634fb6985fae328d3af0b4a60bf445f877..cb17ed2913ef55e59beda9aef72023d23e7785e3 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