summaryrefslogtreecommitdiff
path: root/mv-if-diff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-07-11 20:51:07 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-07-12 07:01:26 +0000
commit28e8609dd7177ef09fbbf211ede76ea895529a3d (patch)
treea1b66ef1c3639b0d05339e202d75663eb55e01f7 /mv-if-diff
parent8d9b2e3c6958e5856b03a00694b8ae02817ed002 (diff)
downloadperl-28e8609dd7177ef09fbbf211ede76ea895529a3d.tar.gz
generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVS
Message-Id: <199807111451.RAA27010@alpha.hut.fi> Subject: M3 "generic" parts p4raw-id: //depot/perl@1451
Diffstat (limited to 'mv-if-diff')
-rw-r--r--mv-if-diff1
1 files changed, 1 insertions, 0 deletions
diff --git a/mv-if-diff b/mv-if-diff
index ada6040c07..4a85b98392 100644
--- a/mv-if-diff
+++ b/mv-if-diff
@@ -10,5 +10,6 @@ if cmp $1 $2 >/dev/null 2>&1; then
echo "File $2 not changed."
rm -f $1
else
+ rm -f $2
mv $1 $2
fi