From 2b38fef2d108fd7c24ba4f4f7df4e29ada1842db Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 16 Aug 2018 10:01:54 +0200 Subject: [PATCH] setup-all-dchroots: get rid of obsolete variable "$extra" that is always the empty string --- modules/schroot/files/setup-all-dchroots | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/schroot/files/setup-all-dchroots b/modules/schroot/files/setup-all-dchroots index 1031b5e63..2f5d710db 100755 --- a/modules/schroot/files/setup-all-dchroots +++ b/modules/schroot/files/setup-all-dchroots @@ -49,13 +49,13 @@ do_one() { case "$MODE" in buildd) mkdir -p /srv/buildd/unpack - if ! $SILENT setup-dchroot $extraargs -f -a "$a" $extra -D -d '/srv/buildd/unpack' -K "$s" + if ! $SILENT setup-dchroot $extraargs -f -a "$a" -D -d '/srv/buildd/unpack' -K "$s" then return 1 fi ;; porterbox) - if ! $SILENT setup-dchroot $extraargs -f -a "$a" $extra "$s" + if ! $SILENT setup-dchroot $extraargs -f -a "$a" "$s" then return 1 fi @@ -122,8 +122,6 @@ else fi -extra="" - archs="$DPKGARCH" case "$DPKGARCH" in amd64) -- 2.20.1