X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7B2B2.6507B1E4@onstor-exch02.onstor.net>; Tue, 19 Jun 2007 12:42:47 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: review again -sigh-
Date: Tue, 19 Jun 2007 12:42:47 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E0221586B@onstor-exch02.onstor.net>
In-Reply-To: <20070618165053.64a9907e@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: review again -sigh-
Thread-Index: AceyA4HefbxkxcNcTxmIkHoAiriq4QApQ1JQ
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Just sending you this email in case it helps with future ideas.

Andy,=20
   This might work but as I said before only for tarballs with EverON in
their name. You will get false negatives for all other cases.

I would go about this differently. Have you thought about using:

# cut and sed script to pick off hwtype in ftp_url
urlhwtype=3D`basename $ftp_url | cut -d '.' -f 4 | sed  's%[0-9]%%'`
if [ -z $urlhwtype -o $urlhwtype =3D "DBG" ] ; then
	urlhwtype=3DCH
fi

Then use $urlhwtype to compare against hwtype.

Note: the sed script above isn't perfect but it is a start...
	=09
-----Original Message-----
From: Andy Sharp=20
Sent: Monday, June 18, 2007 4:51 PM
To: Larry Scheer
Subject: review again -sigh-

Hi Larry,

Sandrine is desparate for this, I firetrucked the logic of the code to
check the tarball, so it will always think you have the wrong tarball.
Change the -o s to -a s.


Change 24279 by andys@ripper on 2007/06/18 16:46:32 *pending*

        Fix logic of code to check if tarball is right for the
        hardware the user is running on.
       =20
        TED00019493 - No check done if user downloads cheetah
       =20
        Reviewed by

Affected files ...

... //depot/FB-DELOREAN/nfx-tree/Tools/cw_install.in#3 edit

