]> git.ipfire.org Git - thirdparty/asterisk.git/commit
make_build_h: handle backslashes in external strings 25/4825/2
authorkkm <kkm@smartaction.com>
Wed, 25 Jan 2017 01:51:07 +0000 (17:51 -0800)
committerKirill Katsnelson <kkm@smartaction.com>
Fri, 27 Jan 2017 03:17:11 +0000 (21:17 -0600)
commite12fb3ffc1aaadfaf925de1f6b8f43629e5352e5
treece8e1c60996e8a55ef235c2881b5214778f5ea8f
parent75ef430f2f2814f0c9f8029a0a7768e1a3a25ce7
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