[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Improve the regex of sed command of SVN_SERF_INCLUDES macro

From: Kang Kai <Kai.Kang_at_windriver.com>
Date: Wed, 8 Jul 2015 16:08:16 +0800

Hello,.

When calculate SVN_SERF_INCLUDES macro in serf.m4, it removes any '-D'
in string. If $serf_major was installed
into directory with '-D' in its path, such as "My-Demo", then get wrong
value of SVN_SERF_INCLUDES.

[[[
Improve the regex of sed command of SVN_SERF_INCLUDES macro

The regex of sed command is too simple, which mangles any "-D"
in strings, for example, a path name is "My-Demo", it will be removed
from the path by the sed regex, which causes a build failure. Improving
it to only delete the -D behind of a space or the -D at start of a string.
]]]

-- 
Regards,
Neil | Kai Kang

Received on 2015-07-08 10:08:37 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.