[vlc-devel] [PATCH] configure: do not escape double quation mark

KO Myung-Hun komh78 at gmail.com
Sun Aug 10 10:00:09 CEST 2014


Hi/2.

Rafaël Carré wrote:
> Hi,
> 
> On 08/08/14 08:11, KO Myung-Hun wrote:
>>
>> Hi/2.
>>
>> Fixed a typo.
>>
>> KO Myung-Hun wrote:
>>> This fixes the following error.
>>>
>>> -----
>>> sed: -e expression #1, char 1: unknown command: `"'
>>> -----
>>> ---
>>>  configure.ac |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/configure.ac b/configure.ac
>>> index de07e28..ddf4770 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -4274,7 +4274,7 @@ echo "#! $SHELL
>>>  rm -f .error\$\$
>>>  ERROR=0
>>>  export PATH=\"$PATH\" LANG=C
>>> -($MAKE V=1 \$@ 2>&1 || touch .error\$\$)| `sed -ne \"s/^top_srcdir *= *//p\" < Makefile`/extras/buildsystem/make.pl
>>> +($MAKE V=1 \$@ 2>&1 || touch .error\$\$)| `sed -ne "s/^top_srcdir *= *//p" < Makefile`/extras/buildsystem/make.pl
>>>  test -f .error\$\$ && ERROR=1
>>>  rm -f .error\$\$
>>>  exit \$ERROR" >compile
> 
> This is a revert of:
> 
> http://git.videolan.org/?p=vlc.git;a=commitdiff;h=96f3458656bbb207ffe0d15678ca96ae38c8f5d9;hp=3414682cbdc046cfe0be16df0abbed5a87ac1fbc
> 
> And I think escaping is needed:
> 
> echo "#! $SHELL
> rm -f .error\$\$
> ERROR=0
> export PATH=\"$PATH\" LANG=C
> ($MAKE V=1 \$@ 2>&1 || touch .error\$\$)| `sed -ne "s/^top_srcdir *=
> *//p" < Makefile`/extras/buildsystem/make.pl
> test -f .error\$\$ && ERROR=1
> rm -f .error\$\$
> exit \$ERROR" >compile
> 
> Else the double quote would terminate the first one after echo "
> 
> Does the error happen at configure or compile? With which shell?
> 

at configure with pdksh v5.2.14.

but it works with bash v3.2.0.

> BTW maybe we want to remove this script now that gcc got colored output
> with version 4.9

Ah, ok.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr




More information about the vlc-devel mailing list