mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 14:54:24 +00:00
aa9bc17601
BMakefiles and other bits will follow. Requested by: Andrey Chernov Made world by: Chuck Robey
16 lines
129 B
Bash
Executable file
16 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
|