mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-10-04 09:34:02 +00:00
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:
parent
5e2664f18e
commit
7075496424
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user