On Thu, 13 Nov 2003, Josip Rodin wrote: > 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)?
Because $deps_arch might have been '!foo !bar !blubb'. Peter -- PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/
signature.asc
Description: Digital signature