sed: allow __cc to contain paths auto/th/Firebird-3.0.4.33054-2
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 21 Jun 2019 10:36:08 +0000 (13:36 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 21 Jun 2019 10:36:08 +0000 (13:36 +0300)
Firebird.spec

index 08a4fd81ad2b66bdbb4b61ea800ff7ee6d9693df..176960983e4987a0d12772be1fa466515ddb1b71 100644 (file)
@@ -210,7 +210,7 @@ cp %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8}
 
 # not processed by configure
 %{__sed} -i -e 's/^CFLAGS.*$/& %{rpmcflags} %{rpmcppflags}/' extern/btyacc/Makefile
-%{__sed} -i -e 's/^\(CC\|LINKER\)\(.*= \)gcc$/\1\2 %{__cc}/' extern/btyacc/Makefile
+%{__sed} -i -e 's;^\(CC\|LINKER\)\(.*= \)gcc$;\1\2 %{__cc};' extern/btyacc/Makefile
 
 %build
 %{__libtoolize}
This page took 0.09955 seconds and 4 git commands to generate.