Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[autoconf] remove bashisms from configure.ac #5658

Merged
merged 1 commit into from Oct 16, 2020

Conversation

kpschoedel
Copy link
Contributor

The configure script runs with #!/bin/sh, but actually required
bash. POSIX sh does not have either the function keyword or pattern
replacement in variable subsititutions.

The `configure` script runs with `#!/bin/sh`, but actually required
bash. POSIX sh does not have either the `function` keyword or pattern
replacement in variable subsititutions.
@google-cla google-cla bot added the cla: yes label Oct 15, 2020
@size-report
Copy link

size-report bot commented Oct 15, 2020

Size Report of OpenThread

Merging #5658 into master(5c7850e).

name branch text data bss total
ot-cli-ftd_1.1 master 389260 736 72724 462720
#5658 389260 736 72724 462720
+/- 0 0 0 0
ot-cli-mtd_1.1 master 314412 736 64140 379288
#5658 314412 736 64140 379288
+/- 0 0 0 0
ot-ncp-ftd_1.1 master 383260 736 72004 456000
#5658 383260 736 72004 456000
+/- 0 0 0 0
ot-ncp-mtd_1.1 master 311388 736 63420 375544
#5658 311388 736 63420 375544
+/- 0 0 0 0
ot-rcp_1.1 master 64168 636 7512 72316
#5658 64168 636 7512 72316
+/- 0 0 0 0
libopenthread-cli-ftd.a_1.1 master 38233 0 3108 41341
#5658 38233 0 3108 41341
+/- 0 0 0 0
libopenthread-cli-mtd.a_1.1 master 31052 0 3108 34160
#5658 31052 0 3108 34160
+/- 0 0 0 0
libopenthread-ftd.a_1.1 master 194797 4 55016 249817
#5658 194797 4 55016 249817
+/- 0 0 0 0
libopenthread-mtd.a_1.1 master 132705 4 46432 179141
#5658 132705 4 46432 179141
+/- 0 0 0 0
libopenthread-ncp-ftd.a_1.1 master 48147 0 2388 50535
#5658 48147 0 2388 50535
+/- 0 0 0 0
libopenthread-ncp-mtd.a_1.1 master 43343 0 2388 45731
#5658 43343 0 2388 45731
+/- 0 0 0 0
libopenthread-rcp.a_1.1 master 27198 0 1532 28730
#5658 27198 0 1532 28730
+/- 0 0 0 0
libopenthread-radio.a_1.1 master 13146 0 150 13296
#5658 13146 0 150 13296
+/- 0 0 0 0
ot-cli-ftd_1.2 master 410772 736 81692 493200
#5658 410772 736 81692 493200
+/- 0 0 0 0
ot-cli-mtd_1.2 master 323428 736 64356 388520
#5658 323428 736 64356 388520
+/- 0 0 0 0
ot-ncp-ftd_1.2 master 402532 736 80972 484240
#5658 402532 736 80972 484240
+/- 0 0 0 0
ot-ncp-mtd_1.2 master 319572 736 63636 383944
#5658 319572 736 63636 383944
+/- 0 0 0 0
ot-rcp_1.2 master 69152 636 16316 86104
#5658 69152 636 16316 86104
+/- 0 0 0 0
libopenthread-cli-ftd.a_1.2 master 39561 0 3108 42669
#5658 39561 0 3108 42669
+/- 0 0 0 0
libopenthread-cli-mtd.a_1.2 master 31496 0 3108 34604
#5658 31496 0 3108 34604
+/- 0 0 0 0
libopenthread-ftd.a_1.2 master 214729 4 63928 278661
#5658 214729 4 63928 278661
+/- 0 0 0 0
libopenthread-mtd.a_1.2 master 140986 4 46592 187582
#5658 140986 4 46592 187582
+/- 0 0 0 0
libopenthread-ncp-ftd.a_1.2 master 48147 0 2388 50535
#5658 48147 0 2388 50535
+/- 0 0 0 0
libopenthread-ncp-mtd.a_1.2 master 43343 0 2388 45731
#5658 43343 0 2388 45731
+/- 0 0 0 0
libopenthread-rcp.a_1.2 master 27198 0 1532 28730
#5658 27198 0 1532 28730
+/- 0 0 0 0
libopenthread-radio.a_1.2 master 13838 0 150 13988
#5658 13838 0 150 13988
+/- 0 0 0 0

@codecov
Copy link

codecov bot commented Oct 15, 2020

Codecov Report

Merging #5658 into master will decrease coverage by 0.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5658      +/-   ##
==========================================
- Coverage   78.05%   77.80%   -0.26%     
==========================================
  Files         377      377              
  Lines       48115    48074      -41     
==========================================
- Hits        37558    37403     -155     
- Misses      10557    10671     +114     
Impacted Files Coverage Δ
src/ncp/changed_props_set.cpp 30.00% <0.00%> (-26.67%) ⬇️
src/core/net/ip6.hpp 75.00% <0.00%> (-25.00%) ⬇️
src/core/api/icmp6_api.cpp 76.92% <0.00%> (-23.08%) ⬇️
src/lib/spinel/spinel_decoder.cpp 58.56% <0.00%> (-7.74%) ⬇️
src/ncp/ncp_base_radio.cpp 83.33% <0.00%> (-7.36%) ⬇️
src/posix/platform/misc.cpp 28.57% <0.00%> (-7.15%) ⬇️
src/core/mac/link_raw.cpp 84.88% <0.00%> (-6.98%) ⬇️
src/core/net/ip6.cpp 65.84% <0.00%> (-6.74%) ⬇️
src/core/net/icmp6.hpp 88.88% <0.00%> (-5.56%) ⬇️
src/lib/spinel/spinel_decoder.hpp 42.10% <0.00%> (-5.27%) ⬇️
... and 40 more

@jwhui jwhui changed the title Remove bashisms from configure.ac [autoconf] remove bashisms from configure.ac Oct 16, 2020
@jwhui jwhui merged commit 8691e90 into openthread:master Oct 16, 2020
simonlingoogle pushed a commit to simonlingoogle/openthread that referenced this pull request Nov 12, 2020
Bug: 171270296

* origin/github/master:
  [notifier] simplify 'EventToString()' (openthread#5657)
  [notifier] signal change to active or pending Operational Dataset (openthread#5657)
  [coap] add helper method 'Message::SetTokenFromMessage()' (openthread#5661)
  [dataset-manager] misc enhancements (openthread#5655)
  [simulation] add configuration MAX_NETWORK_SIZE (openthread#5565)
  [lib-url] update 'Makefile' to include 'src/core' in header path search (openthread#5659)
  [code-utils] enhance 'VerifyOrExit' to make action optional (openthread#5659)
  [autoconf] remove bashisms from configure.ac (openthread#5658)
  [otns] emit COAP send/receive events to OTNS (openthread#5656)
  [logging] update logging to use new helper macros (openthread#5650)
  [common] macros to get first/second/rest of variadic arguments (openthread#5650)
  [continuous-integration] kill ot-rcp and ot-cli in pty check (openthread#5654)
  [cli] add context for the user commands (openthread#5587)
  [thread-cert] turn off OTBR NAT64 in 1.2 Backbone tests (openthread#5652)
  [low-power] add an Enh-ACK frame link layer counter (openthread#5583)
  [thread-cert] refactor case 9.2.12 and 9.2.13 using pktverify (openthread#5442)
  [coap] allow max URI path length (openthread#5645)
  [harness-automation] update readme (openthread#5646)
  [common] use non-copyable for more instance-unique classes (openthread#5639)
  [linux] fix missing correct mtu (openthread#5642)
  [docs] update Doxygen menu (openthread#5641)
  [thread-cert] enhance case 5.6.7 for data version increment (openthread#5643)
  [cc1352,cc2652] add check before claiming transmit done (openthread#5640)
  [cli] add command to set/get external FEM's LNA gain (openthread#5563)
  [ip6] no anycast as source address (openthread#5632)
  [debug] prefer user provided assert to system assert (openthread#5624)
Change-Id: Ia7e971ebfef8a78dda9e818698e46831b41d1ec7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants