aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2015-10-19 23:15:46 +0100
committerGuido Günther <agx@sigxcpu.org>2015-10-20 08:42:58 +0200
commitae6826bec6cb3e872ec1150b73aadb53b2d8ede1 (patch)
tree36a1c1cdf2cb9f5eaf5bbd1e5854d8d9e101b2ed /bin
parent0d9b1eff32a87b22efce43c2617bfbb6bb2e70d9 (diff)
Check correct config file when using qemubuilder
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'bin')
-rw-r--r--bin/git-pbuilder2
1 files changed, 1 insertions, 1 deletions
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