aboutsummaryrefslogtreecommitdiff
path: root/move-if-change
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-08 20:56:30 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-08 20:56:30 +0000
commit5bc2f642a77010ef3d118dc286b39fa4a7f21699 (patch)
tree93d643946175191a02d997b300d02f918e7b8877 /move-if-change
parentc7562c74ed1b18fda99bfd5f6c4b61a449bcb35f (diff)
downloadglibc-5bc2f642a77010ef3d118dc286b39fa4a7f21699.zip
glibc-5bc2f642a77010ef3d118dc286b39fa4a7f21699.tar.gz
glibc-5bc2f642a77010ef3d118dc286b39fa4a7f21699.tar.bz2
Update.
1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu> * autolock.sh: Removed. * manual/move-if-change: Removed. * scripts: new directory. * =__ify: moved to scripts. * config.guess: Likewise. * config.sub: Likewise. * gen-FAQ.pl: Likewise. * install-sh: Likewise. * mkinstalldirs: Likewise. * move-if-change: Likewise. * printsources: Likewise. * rellns.sh: Likewise. * test-installation.pl: Likewise. * configure.in: Look in scripts for config.guess, config.sub, install-sh. * Makefile: Distribute all above files in their new home. Find gen-FAQ.pl and test-installation.pl in scripts. * manual/Makefile: Find mkinstalldirs and move-if-change in $(..)scripts. Drop them from distribute. Minor cleanups. * Makerules: Find mkinstalldirs and rellns-sh in scripts. * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. * timezone/Makefile: Find rellns-sh in scripts.
Diffstat (limited to 'move-if-change')
-rwxr-xr-xmove-if-change17
1 files changed, 0 insertions, 17 deletions
diff --git a/move-if-change b/move-if-change
deleted file mode 100755
index 66d8b8a..0000000
--- a/move-if-change
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Like mv $1 $2, but if the files are the same, just delete $1.
-# Status is 0 if $2 is changed, 1 otherwise.
-if
-test -r $2
-then
-if
-cmp -s $1 $2
-then
-echo $2 is unchanged
-rm -f $1
-else
-mv -f $1 $2
-fi
-else
-mv -f $1 $2
-fi