[pbs-devel] [PATCH proxmox-backup] buildsys: switch from '\s' as a whitespace matcher to `[[:space:]]`
Stefan Sterz
s.sterz at proxmox.com
Tue Jun 6 09:50:18 CEST 2023
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 at proxmox.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 85af4e6b..b307009d 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ RESTORE_BIN := \
SUBCRATES != cargo metadata --no-deps --format-version=1 \
| jq -r .workspace_members'[]' \
- | awk '!/^proxmox-backup\s/ { printf "%s ", $$1 }'
+ | awk '!/^proxmox-backup[[:space:]]/ { printf "%s ", $$1 }'
ifeq ($(BUILD_MODE), release)
CARGO_BUILD_ARGS += --release
--
2.30.2
More information about the pbs-devel
mailing list