Convert some stray CRNL line endings
This commit is contained in:
parent
86cd3616f1
commit
3cb349ac5f
@ -28,6 +28,8 @@ BuildRequires: cmake
|
||||
# Either make or ninja is supported.
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: hardlink
|
||||
|
||||
BuildRequires: xerces-c-devel
|
||||
@ -81,6 +83,12 @@ chmod -v a-x NOTICE
|
||||
# samples are only tested and not installed), and is annoying to exclude.
|
||||
rm -vf samples/configure samples/configure.in
|
||||
|
||||
# Convert line endings as needed:
|
||||
find docs samples src -type f -exec file '{}' '+' |
|
||||
grep -F 'CRLF' |
|
||||
awk -F ':' '{ print $1 }' |
|
||||
xargs dos2unix --keepdate
|
||||
|
||||
|
||||
%build
|
||||
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja
|
||||
|
Loading…
Reference in New Issue
Block a user