[Asterisk-code-review] Fix sed(1) syntax compatibility with NetBSD (asterisk[master])

Sean Bright asteriskteam at digium.com
Thu Dec 16 17:39:43 CST 2021


Attention is currently required from: Jaco Kroon.
Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/17704 )

Change subject: Fix sed(1) syntax compatibility with NetBSD
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

File build_tools/make_version:

https://gerrit.asterisk.org/c/asterisk/+/17704/comment/b3dc1fef_7f0f9a8b 
PS1, Line 101:     SVN_REV=`${GIT} log --pretty=full -1 | ${GREP} -F "git-svn-id:" | sed -e "s/.*\@\([^[:space:]]*\)[[:space:]].*/\1/g"`
Or just (since we know it's a space-space):

 git log --pretty=full -1 | sed -n '/git-svn-id:/ s/.*\@\([^ ]*\) .*/\1/p'



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17704
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie4b406e2748920643446851a0a252a4ca7245772
Gerrit-Change-Number: 17704
Gerrit-PatchSet: 1
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Jaco Kroon <jaco at uls.co.za>
Gerrit-Comment-Date: Thu, 16 Dec 2021 23:39:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211216/ad1fdca5/attachment.html>


More information about the asterisk-code-review mailing list