head	1.1;
branch	1.1.1;
access;
symbols
	libgcj-2_95_1-release:1.1.1.1
	libgcj-2_95-release:1.1.1.1
	libgcj-2_95-branch:1.1.1.1.0.2
	libgcj-2_95-branchpoint:1.1.1.1
	LIBGCJ_0_1:1.1.1.1
	CYGNUS:1.1.1;
locks; strict;
comment	@# @;


1.1
date	99.04.07.14.52.48;	author tromey;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.04.07.14.52.48;	author tromey;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@# Rename a file only if it is different from a previously existing
# file of the same name.  This is useful for keeping make from doing
# too much work if the contents of a file haven't changed.

# This is an MPW translation of the standard GNU sh script move-if-change.

Set exit 0

If "`exists -f "{2}"`"
  Compare "{1}" "{2}" >dev:null
  If {status} != 0
    Rename -y "{1}" "{2}"
  Else
    Echo "{2}" is unchanged
    Delete -i -y "{1}"
  End
Else
  Rename -y "{1}" "{2}"
End
@


1.1.1.1
log
@Initial import of libgcj
@
text
@@

