* [pbs-devel] [PATCH proxmox-backup] buildsys: switch from '\s' as a whitespace matcher to `[[:space:]]`
@ 2023-06-06 7:50 Stefan Sterz
2023-06-06 11:13 ` [pbs-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Sterz @ 2023-06-06 7:50 UTC (permalink / raw)
To: pbs-devel
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>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pbs-devel] applied: [PATCH proxmox-backup] buildsys: switch from '\s' as a whitespace matcher to `[[:space:]]`
2023-06-06 7:50 [pbs-devel] [PATCH proxmox-backup] buildsys: switch from '\s' as a whitespace matcher to `[[:space:]]` Stefan Sterz
@ 2023-06-06 11:13 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-06-06 11:13 UTC (permalink / raw)
To: Proxmox Backup Server development discussion, Stefan Sterz
Am 06/06/2023 um 09:50 schrieb Stefan Sterz:
> 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>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-06 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 7:50 [pbs-devel] [PATCH proxmox-backup] buildsys: switch from '\s' as a whitespace matcher to `[[:space:]]` Stefan Sterz
2023-06-06 11:13 ` [pbs-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox