]> git.baikalelectronics.ru Git - uboot.git/commit
env: Avoid using GNU features in awk
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 14:40:14 +0000 (07:40 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000 (16:51 -0700)
commitc8fc1633b394b249aedc034540f5da2e4fd0552c
treef765597185b24703c6be91dfe37875967e9d319a
parentb515f3cfe5bdd4b53f5f157baf30ae8d8221be82
env: Avoid using GNU features in awk

GNU has a very useful third argument to match() but this is not supported
in the POSIX awk.

Update the code to cope, so that the script is POSIX-compliant.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Mark Kettenis <mark.kettenis@xs4all.nl>
scripts/env2string.awk