]> git.ipfire.org Git - thirdparty/asterisk.git/commit
make_build_h: handle backslashes in external strings 23/4823/3
authorkkm <kkm@smartaction.com>
Wed, 25 Jan 2017 01:51:07 +0000 (17:51 -0800)
committerkkm <kkm@smartaction.com>
Fri, 27 Jan 2017 03:14:34 +0000 (19:14 -0800)
commit3c8f84786e7700d678a09d2060838ec2a4815b7d
treef70f1ea67a6f7e8c9c2b16e935eb2aed79f088c9
parent3410000948f406a2e4bba33842345c40eb9bee20
make_build_h: handle backslashes in external strings

LikewiseOpen creates user names with a backslash in them. A gentle
massage with sed(1) allows such strings to be inserted into build.h
properly quoted. I am also adding the same for host name and other
strings used in the script that are more or less user-controlled.

ASTERISK-26754

Change-Id: Iac5ef2b67a68ee58f35ddbf86bb818ba6eabecae
build_tools/make_build_h