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

Guido Günther agx at sigxcpu.org
Tue Oct 20 08:44:15 CEST 2015


Hi James,
On Mon, Oct 19, 2015 at 11:15:46PM +0100, James Clarke wrote:
> ---
>  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

Appplied. Thanks, cc'ing Russ since he might want to apply this to
git-pbuilder upstream too.
Cheers,
 -- Guido


More information about the git-buildpackage mailing list