mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
15 lines
129 B
Bash
Executable file
15 lines
129 B
Bash
Executable file
#!/bin/sh
|
|
if
|
|
test -r $2
|
|
then
|
|
if
|
|
cmp $1 $2 > /dev/null
|
|
then
|
|
echo $2 is unchanged
|
|
rm -f $1
|
|
else
|
|
mv -f $1 $2
|
|
fi
|
|
else
|
|
mv -f $1 $2
|
|
fi
|