[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#164863: fail to get arch when wrong $CC



Fumitoshi UKAI wrote:
> Hmm, so this patch would be better?
> -		$arch=`dpkg --print-architecture` || error($!);
> +		$arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || `unset CC; dpkg --print-architecture` || error($!);

Much, yes. I have applied this for the next release, but I will leave the bug
open and assigned to dpkg, since they might want to make it more robust.

It seems that my use of dpkg --print-architecture is a reversion from
debhelper 3.09 anyway.

-- 
see shy jo

Attachment: pgpgYpVOGbnkG.pgp
Description: PGP signature


Reply to: