[tools] [patch] EL5 aka 5Server

Oliver Falk oliver at linux-kernel.at
Wed Mar 28 09:21:20 CEST 2007


On 03/28/2007 04:30 AM, John Scherff wrote:
> I did the same #&$*# thing (minus a slash).  Took me half a day and 100
> curses against Red Hat before I figured it out.

I've also play around and ran into this problem a few times already. :-)
[ ... ]
>> And this?:
>> rhnget -vvvv -n --release=5Server
>> --systemid=/var/depo/rhel5Server-i386/systemid
>> rhn:///rhn-tools-rhel-i386-server-5 /tmp
> 
> That works and after investigation, I was missing a slash in rhns:///
> 
> You know what I am thinking now ? We have a great community when the 
> developer has to ask the community for support :)

A great community, right! :-)

> On the other hand, if I'm making this mistake we should have something
> to make sure people cannot make the same mistake again.

perlish i would say:
die "You might miss some /" if ! ($url =~ qr"///") && ($url =~ /^rhn/);

> Thanks again, Oliver !

You're welcome!

-of


More information about the tools mailing list