On Sat, 15 Nov 2003, Josip Rodin wrote:

> On Sat, Nov 15, 2003 at 01:56:20AM +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)?
> > 
> > Because $deps_arch might have been '!foo !bar !blubb'.
> 
> Why not parse that one part at a time, accounting for prefixes as well,
> then? :)
> 
> (Maybe it's done now? I saw some commits, but didn't look into them...)

Guess why the bug was closed? :)

Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to