X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86EA6.D94A8D21@onstor-exch02.onstor.net>; Wed, 13 Feb 2008 18:13:46 -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 18:13:46 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C939F@onstor-exch02.onstor.net>
In-Reply-To: <20080213165014.0ddc6f4d@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: The mv stats error seen during system upgrade
Thread-Index: Achuo488HPwUgz8pQ/uI4C5N0iPlDAAAvY6Q
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

nfx-tree/code/ssc-nfxsh/verify_install.in

Line 179: I think you want sed $2 > $TeMPFILE Line=20
180: I think you want to mv $TeMPFILE to $3 not $2 correct?

Isn't the arguments passed to _sed:=20
   $1 =3D -i
   $2 =3D s+$AGILE_PATH+/onstor+
   $3 =3D ${CF_DIR}${ROOT_CRONTAB} ?

-----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

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

> 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.


Change 27802 by andys@ripper on 2008/02/12 16:26:36 *pending*

        Solve pathetic sed -i problem on OpenBSD.
       =20
        Silence complaints from mv command.
       =20
        reviewed by

Affected files ...

... //depot/dev/nfx-tree/code/ssc-nfxsh/verify_install.in#2 edit

