projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ec12f11
)
mv-if-diff
Robin Barker [Fri, 27 Mar 1998 18:06:11 +0000 (18:06 +0000)]
p4raw-id: //depot/perl@856
mv-if-diff
patch
|
blob
|
blame
|
history
diff --git
a/mv-if-diff
b/mv-if-diff
index
1112a10
..
ada6040
100644
(file)
--- 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