X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86EB8.2E9B02FA@onstor-exch02.onstor.net>; Wed, 13 Feb 2008 20:17:51 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: The mv stats error seen during system upgrade
Date: Wed, 13 Feb 2008 20:17:51 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C93A1@onstor-exch02.onstor.net>
In-Reply-To: <20080213184954.49e32779@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: The mv stats error seen during system upgrade
Thread-Index: AchutEcW6Tx8kf4mQWGY58teO6OMiQAA6Vpg
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Okay all is good. I don't know how I missed the shift... musta been eye
strain.=20

Let er rip.=20

-----Original Message-----
From: Andy Sharp=20
Sent: Wednesday, February 13, 2008 6:50 PM
To: Larry Scheer
Subject: Re: The mv stats error seen during system upgrade

On Wed, 13 Feb 2008 17:13:46 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> nfx-tree/code/ssc-nfxsh/verify_install.in
>=20
> Line 179: I think you want sed $2 > $TeMPFILE Line=20

no, sed takes 2 arguments, unless you're redirecting input on the shell
command line.

> 180: I think you want to mv $TeMPFILE to $3 not $2 correct?
>=20
> Isn't the arguments passed to _sed:=20
>    $1 =3D -i
>    $2 =3D s+$AGILE_PATH+/onstor+
>    $3 =3D ${CF_DIR}${ROOT_CRONTAB} ?

you are ignoring the shift on line 178 for some reason
=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Wednesday, February 13, 2008 4:50 PM
> To: Larry Scheer
> Subject: Re: The mv stats error seen during system upgrade
>=20
> On Wed, 13 Feb 2008 16:38:29 -0800 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
>=20
> > mv: cannot stat `/mnt1/var/stats': No such file or directory
> > mv: cannot stat `/mnt1/var/config': No such file or directory
> >=20
> > The stats and config directories are not in /var anymore so the mv
> > command is carping about it.
> >=20
> > A simple fix would be something like [ -d ${TAR_DIR}/var/stats ]  &&
> > mv -f ...
> >=20
> > L.
>=20
>=20
> Change 27802 by andys@ripper on 2008/02/12 16:26:36 *pending*
>=20
>         Solve pathetic sed -i problem on OpenBSD.
>        =20
>         Silence complaints from mv command.
>        =20
>         reviewed by
>=20
> Affected files ...
>=20
> ... //depot/dev/nfx-tree/code/ssc-nfxsh/verify_install.in#2 edit
>=20
