Preserve file permissions when updating copyright notices.
This commit is contained in:
parent
afc46246ca
commit
c01a6a4d7e
|
@ -79,6 +79,7 @@ EOF
|
|||
esac
|
||||
done
|
||||
) < "$fn" > "$tf"
|
||||
chmod --reference="$fn" "$tf"
|
||||
if cmp -s "$fn" "$tf"; then
|
||||
echo " unchanged"
|
||||
rm "$tf"
|
||||
|
|
Loading…
Reference in New Issue