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

Bug#219753: http://qa.debian.org/debcheck.php doesn't respect arch-specific build-deps



On Thu, Nov 13, 2003 at 11:15:38AM +0100, Peter Palfrader wrote:
> > Package declares a build time dependency on hurd-dev (>= 20020608-1)
> > [hurd-i386] which cannot be satisfied on i386.
> 
> Ah :)
> 
> $arch = 'i386';
> $deps_arch = 'hurd-i386'
> ignore unless $deps_arch =~ $arch;
> 
> Looks like 'hurd-i386' matches 'i386' :)

Why don't you use eq instead of =~ (or whatever is the syntax in the
language of the script in question)?

-- 
     2. That which causes joy or happiness.



Reply to: