Commit 33e5e5ae authored by Mattia Rizzolo's avatar Mattia Rizzolo

pbuilder script: correct handling of --debootstrapopts option and OTHER variable

parent b5b1f32b
......@@ -36,7 +36,7 @@ sett() {
debian)
MIRROR="http://http.debian.net/debian"
COMPONENTS="main contrib"
OTHER+="--debootstrapopts --keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
OTHER+="--debootstrapopts --keyring=/usr/share/keyrings/debian-archive-keyring.gpg "
;;
ubuntu)
MIRROR="http://archive.ubuntu.com/ubuntu"
......@@ -51,7 +51,7 @@ sett() {
if [ "$TYPE" = "ubuntu" ] ; then
MIRROR="http://ports.ubuntu.com"
fi
OTHER+="--debootstrap qemu-debootstrap"
OTHER+="--debootstrap qemu-debootstrap "
;;
arm64)
(dpkg --print-foreign-architectures | grep arm64 > /dev/null 2>&1 && \
......@@ -63,7 +63,7 @@ sett() {
if [ "$TYPE" = "ubuntu" ] ; then
MIRROR="http://ports.ubuntu.com"
fi
OTHER+="--debootstrap qemu-debootstrap"
OTHER+="--debootstrap qemu-debootstrap "
;;
esac
if [ ! -d $APTCACHE ] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment