mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
CONFIG: PR 2127 - Build fails on Linux.
Fix shell tests where '==' was used rather than '='.
This commit is contained in:
parent
7fcbffda82
commit
6d32fe7eb0
@ -43,7 +43,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
%define rtems_tests samples
|
||||
%endif
|
||||
|
||||
%if %{rtems_tests} == disable
|
||||
%if %{rtems_tests} = disable
|
||||
%define rtems_tests_opt --disable-tests
|
||||
%else
|
||||
%define rtems_tests_opt --enable-tests=%{rtems_tests}
|
||||
|
@ -37,7 +37,7 @@ VersionControl0: git clone git://git.sv.gnu.org/autoconf
|
||||
|
||||
cd autoconf-%{autoconf_version}
|
||||
|
||||
if test "%{_internal_autotools}" == "yes"; then
|
||||
if test "%{_internal_autotools}" = "yes"; then
|
||||
ac_prefix=%{_internal_autotools_path}
|
||||
else
|
||||
ac_prefix=%{_prefix}
|
||||
@ -67,7 +67,7 @@ VersionControl0: git clone git://git.sv.gnu.org/autoconf
|
||||
|
||||
cd autoconf-%{autoconf_version}
|
||||
|
||||
if test "%{_internal_autotools}" == "yes"; then
|
||||
if test "%{_internal_autotools}" = "yes"; then
|
||||
%{__make} install
|
||||
else
|
||||
%{__make} DESTDIR=$SB_BUILD_ROOT install
|
||||
|
@ -37,7 +37,7 @@ VersionControl0: git clone git://git.savannah.gnu.org/automake.git
|
||||
|
||||
cd automake-%{automake_version}
|
||||
|
||||
if test "%{_internal_autotools}" == "yes"; then
|
||||
if test "%{_internal_autotools}" = "yes"; then
|
||||
am_prefix=%{_internal_autotools_path}
|
||||
else
|
||||
am_prefix=%{_prefix}
|
||||
@ -66,7 +66,7 @@ VersionControl0: git clone git://git.savannah.gnu.org/automake.git
|
||||
|
||||
cd automake-%{automake_version}
|
||||
|
||||
if test "%{_internal_autotools}" == "yes"; then
|
||||
if test "%{_internal_autotools}" = "yes"; then
|
||||
%{__make} install
|
||||
else
|
||||
%{__make} DESTDIR=$SB_BUILD_ROOT install
|
||||
|
Loading…
x
Reference in New Issue
Block a user