OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/ComputeLibrary?expand=0&rev=36
This commit is contained in:
parent
32451b74e0
commit
05403d69eb
@ -134,6 +134,7 @@ install -Dm0755 scripts/* %{buildroot}%{_bindir}
|
|||||||
rm -f %{buildroot}%{_bindir}/*.h
|
rm -f %{buildroot}%{_bindir}/*.h
|
||||||
# Fix Python scripts interpreter
|
# Fix Python scripts interpreter
|
||||||
for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do
|
for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do
|
||||||
|
sed -i -e 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' $pyfile
|
||||||
sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|' $pyfile
|
sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|' $pyfile
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user