From ae6826bec6cb3e872ec1150b73aadb53b2d8ede1 Mon Sep 17 00:00:00 2001 From: James Clarke Date: Mon, 19 Oct 2015 23:15:46 +0100 Subject: Check correct config file when using qemubuilder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Guido Günther --- bin/git-pbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/git-pbuilder b/bin/git-pbuilder index 379227d9..bf5e5b8d 100644 --- a/bin/git-pbuilder +++ b/bin/git-pbuilder @@ -197,7 +197,7 @@ if [ no != "$GIT_PBUILDER_AUTOCONF" ] ; then # There has to be a configuration file matching our distribution # and architecture. QEMUCONFIG="/var/cache/pbuilder/$BUILDER-$ARCH-$DIST$EXT.conf" - if [ ! -r "$CONFIG" ]; then + if [ ! -r "$QEMUCONFIG" ]; then echo "Cannot read configuration file $QEMUCONFIG" >&2 exit 1 fi -- cgit v1.2.3