aboutsummaryrefslogtreecommitdiff
path: root/config/mpw/MoveIfChange
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2002-11-11 05:38:51 +0000
committerStan Shebs <shebs@codesourcery.com>2002-11-11 05:38:51 +0000
commitdaa3eaaf8ca9e7e317ecd725f6ea841d1f4aac7b (patch)
tree20291a3e4e0b10bc1a1f38eec80f93cf07636daa /config/mpw/MoveIfChange
parentbc7eab726b6f7b86327f4b9e8178672ebd6db662 (diff)
downloadgdb-daa3eaaf8ca9e7e317ecd725f6ea841d1f4aac7b.zip
gdb-daa3eaaf8ca9e7e317ecd725f6ea841d1f4aac7b.tar.gz
gdb-daa3eaaf8ca9e7e317ecd725f6ea841d1f4aac7b.tar.bz2
Retire common MPW configury bits.
* mpw-mh-mpw: Remove. * mpw: Remove directory along with all of its files.
Diffstat (limited to 'config/mpw/MoveIfChange')
-rw-r--r--config/mpw/MoveIfChange19
1 files changed, 0 insertions, 19 deletions
diff --git a/config/mpw/MoveIfChange b/config/mpw/MoveIfChange
deleted file mode 100644
index 0dbc125..0000000
--- a/config/mpw/MoveIfChange
+++ /dev/null
@@ -1,19 +0,0 @@
-# Rename a file only if it is different from a previously existing
-# file of the same name. This is useful for keeping make from doing
-# too much work if the contents of a file haven't changed.
-
-# This is an MPW translation of the standard GNU sh script move-if-change.
-
-Set exit 0
-
-If "`exists -f "{2}"`"
- Compare "{1}" "{2}" >dev:null
- If {status} != 0
- Rename -y "{1}" "{2}"
- Else
- Echo "{2}" is unchanged
- Delete -i -y "{1}"
- End
-Else
- Rename -y "{1}" "{2}"
-End