mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-10-04 22:02:47 +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 \
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user