Fix line endings.
This commit is contained in:
parent
a6b3e5c8ff
commit
62228e8a11
|
@ -52,6 +52,14 @@ for family in Mono Sans Serif; do
|
|||
done
|
||||
popd
|
||||
|
||||
# Fix line endings
|
||||
for file in %{packname}/inst/NEWS.Rd; do
|
||||
sed "s|\r||g" ${file} > ${file}.new
|
||||
touch -r ${file} ${file}.new
|
||||
mv ${file}.new ${file}
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue