diff options
author | Dan Timoney <dtimoney@att.com> | 2020-04-09 14:46:31 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-04-09 14:46:31 -0400 |
commit | 8ca0f1f6154f7ef79769af538851c601dbc4f1e1 (patch) | |
tree | 6a961a4ecb6b1aa8397c7b7019ceb3c00e9504dd /odlparent/mdsal-it-parent | |
parent | 3c69d3a67d7c030e34c7cf76eeb6583f84690fe6 (diff) |
Updated script to handle sed issues
The 'sed' line added to the updParentVersion script introduced 2 problems:
1) sed inline edit (-i option) saves a backup copy unless you pass the
empty string ('') as the suffix , which is the arg to the -i option.
2) BSD sed (e.g. the version installed in Mac OSX) does not support \n
as newline in replacement strings. The more portable solution is to
simply escape a literal newline in the replacement string.
Change-Id: Ia3a3b2635b8cc9ce57ec41c2e55c1384587325c7
Issue-ID: CCSDK-2308
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'odlparent/mdsal-it-parent')
0 files changed, 0 insertions, 0 deletions