Code Review
/
oom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
785bc38
)
[COMMON] Fix function declarations bashisms
96/118996/10
author
Guillaume Lambert
<guillaume.lambert@orange.com>
Tue, 9 Mar 2021 20:41:30 +0000
(21:41 +0100)
committer
Sylvain Desbureaux
<sylvain.desbureaux@orange.com>
Wed, 14 Apr 2021 13:26:30 +0000
(13:26 +0000)
pointed out by checkbashisms.
$ mycmd=$(tox -e checkbashisms | grep "^possible .*'function' is useless
" | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/functio
n \\\([^ ()]*\\\) *(\\\?)\\\?/\\\1 ()/\' -e '\2s/(){/() {/' \1;@")
$ eval $mycmd
Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic41c8ba8288b7a90db9f5775cd601c09ff2ab663
No differences found