Accepting request 678521 from home:jengelh:branches:devel:languages:rust
- Avoid bash-specific syntax in "test" call. OBS-URL: https://build.opensuse.org/request/show/678521 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=185
This commit is contained in:
parent
67bd434ec1
commit
961c87b31c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 24 09:40:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Avoid bash-specific syntax in "test" call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 24 01:52:06 UTC 2019 - Luke Jones <jones_ld@protonmail.com>
|
||||
|
||||
|
@ -404,7 +404,7 @@ sed -i '1s|^|#!/bin/bash\n|' src/stdsimd/ci/run-docker.sh
|
||||
|
||||
# Sometimes we may be rebuilding with the same compiler,
|
||||
# setting local-rebuild will skip stage0 build, reducing build time
|
||||
if [ $(%{rust_root}/bin/rustc --version | sed -En 's/rustc ([0-9].[0-9][0-9].[0-9]).*/\1/p') == '%{version}' ]; then
|
||||
if [ $(%{rust_root}/bin/rustc --version | sed -En 's/rustc ([0-9].[0-9][0-9].[0-9]).*/\1/p') = '%{version}' ]; then
|
||||
sed -i -e "s|#local-rebuild = false|local-rebuild = true|" config.toml;
|
||||
fi
|
||||
|
||||
@ -577,4 +577,4 @@ rm -rf %{buildroot}%{_sysconfdir}
|
||||
%dir %{_docdir}/cargo
|
||||
%{_docdir}/cargo/html
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user