mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-17 22:04:19 +00:00
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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1683d09017
commit
0676eb3738
@ -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)
|
BUILD_VERSION=$(or $(DEB_VERSION),$(shell git rev-parse HEAD),unknown version)
|
||||||
proxmoxlib.js: .lint-incremental $(JSSRC)
|
proxmoxlib.js: .lint-incremental $(JSSRC)
|
||||||
# add the version as comment in the file
|
# 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
|
cat $(JSSRC) $(MARKEDJS) >> $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user