[git-buildpackage] [PATCH] Check correct config file when using qemubuilder

James Clarke jrtc27 at jrtc27.com
Tue Oct 20 00:15:46 CEST 2015


---
 bin/git-pbuilder | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/git-pbuilder b/bin/git-pbuilder
index 379227d..bf5e5b8 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
-- 
2.6.2



More information about the git-buildpackage mailing list