add directory gnu
This commit is contained in:
15
gnu/gcc/gcc-2.2.2/move-if-change
Executable file
15
gnu/gcc/gcc-2.2.2/move-if-change
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user