From: Robin Barker Date: Fri, 27 Mar 1998 18:06:11 +0000 (+0000) Subject: mv-if-diff X-Git-Tag: accepted/trunk/20130322.191538~37751 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23b65447ca7ec678d8e69f62797a8222e4e7e861;p=platform%2Fupstream%2Fperl.git mv-if-diff p4raw-id: //depot/perl@856 --- diff --git a/mv-if-diff b/mv-if-diff index 1112a10..ada6040 100644 --- a/mv-if-diff +++ b/mv-if-diff @@ -8,7 +8,7 @@ if test $# -lt 2 ; then fi if cmp $1 $2 >/dev/null 2>&1; then echo "File $2 not changed." - rm -f tmp + rm -f $1 else mv $1 $2 fi