[m-rev.] for review: make backup of installed compiler before install

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Feb 15 20:01:02 AEDT 2005


On 15-Feb-2005, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> > >  	    date >> $TESTDIR/logs/install-failed."$TEST_ID"
> > > +	    # restore the previous installation
> > > +	    cp -rf $INSTALL_DIR/../mercury_install_backup/* $INSTALL_DIR
> > >  	    ;;
> > >      esac
> > 
> > This will create a directory called mercury_install_backup inside $INSTALL_DIR.
> > You need to remove $INSTALL_DIR first.
> > 
> 
> Not according to my tests, but okay.

Forget my comments; for some reason I wasn't seeing the /* at the end
of $INSTALL_DIR in either place.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list