[COMMON] Fix function declarations bashisms 96/118996/10
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 9 Mar 2021 20:41:30 +0000 (21:41 +0100)
committerSylvain 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