projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Devel::Peek::mstat not working
[p5sagit/p5-mst-13.2.git]
/
mv-if-diff
diff --git
a/mv-if-diff
b/mv-if-diff
index
ada6040
..
4a85b98
100644
(file)
--- 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