From 0676eb3738e796db187f4da47332521425ec7c47 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 3 Jun 2023 12:35:42 +0200 Subject: [PATCH] buildsys: avoid whitespace in build info heading this is added to the URL as is by most index templates, and literal (non-URL-encoded) white space might break things. Signed-off-by: Thomas Lamprecht --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index a9df508..c8481b6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -124,7 +124,7 @@ BUILD_TIME=$(or $(SOURCE_DATE_EPOCH),$(shell date '+%s.%N')) BUILD_VERSION=$(or $(DEB_VERSION),$(shell git rev-parse HEAD),unknown version) proxmoxlib.js: .lint-incremental $(JSSRC) # add the version as comment in the file - echo "// v$(BUILD_VERSION) - t$(BUILD_TIME)" > $@.tmp + echo "// v$(BUILD_VERSION)-t$(BUILD_TIME)" > $@.tmp cat $(JSSRC) $(MARKEDJS) >> $@.tmp mv $@.tmp $@