diff options
Diffstat (limited to 'mv-if-diff')
-rw-r--r-- | mv-if-diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mv-if-diff b/mv-if-diff index 1112a10dd3..ada6040c07 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 |