buildsys: switch from '\s' as a whitespace matcher to [[:space:]]

previously the build process was broken for some versions of `awk`
(most notably `mawk`) as they did not understand the shorthand `\s`
notation for matching a whitspace. use the more universal and more
explicit `[[:space:]]` instead.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
Stefan Sterz 2023-06-06 09:50:18 +02:00 committed by Thomas Lamprecht
parent 5e2664f18e
commit 7075496424

View File

@ -33,7 +33,7 @@ RESTORE_BIN := \
SUBCRATES != cargo metadata --no-deps --format-version=1 \ SUBCRATES != cargo metadata --no-deps --format-version=1 \
| jq -r .workspace_members'[]' \ | jq -r .workspace_members'[]' \
| awk '!/^proxmox-backup\s/ { printf "%s ", $$1 }' | awk '!/^proxmox-backup[[:space:]]/ { printf "%s ", $$1 }'
ifeq ($(BUILD_MODE), release) ifeq ($(BUILD_MODE), release)
CARGO_BUILD_ARGS += --release CARGO_BUILD_ARGS += --release