]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
buildsys: avoid whitespace in build info heading
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jun 2023 10:35:42 +0000 (12:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jun 2023 11:41:23 +0000 (13:41 +0200)
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 <t.lamprecht@proxmox.com>
src/Makefile

index a9df508b0deb156419f214e5c7ef877008667824..c8481b65f01118057ff2bd8f38ad8a9d65ade19e 100644 (file)
@@ -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 $@