openmpi.spec: make sure grep failure doesn't abort
Thanks to Daniel Letai for bringing this to our attention.
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 013f5b03f5
)
Этот коммит содержится в:
родитель
8c9a3d1d1f
Коммит
84b3536f61
8
contrib/dist/linux/openmpi.spec
поставляемый
8
contrib/dist/linux/openmpi.spec
поставляемый
@ -600,18 +600,18 @@ grep -v -f devel.files remaining.files > docs.files
|
||||
|
||||
# runtime sub package
|
||||
%if !%{sysconfdir_in_prefix}
|
||||
grep -v %{_sysconfdir} runtime.files > tmp.files
|
||||
grep -v %{_sysconfdir} runtime.files > tmp.files | /bin/true
|
||||
mv tmp.files runtime.files
|
||||
%endif
|
||||
grep -v %{_pkgdatadir} runtime.files > tmp.files
|
||||
grep -v %{_pkgdatadir} runtime.files > tmp.files | /bin/true
|
||||
mv tmp.files runtime.files
|
||||
|
||||
# devel sub package
|
||||
grep -v %{_includedir} devel.files > tmp.files
|
||||
grep -v %{_includedir} devel.files > tmp.files | /bin/true
|
||||
mv tmp.files devel.files
|
||||
|
||||
# docs sub package
|
||||
grep -v %{_mandir} docs.files > tmp.files
|
||||
grep -v %{_mandir} docs.files > tmp.files | /bin/true
|
||||
mv tmp.files docs.files
|
||||
|
||||
%endif
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user