diff --git a/desktop/Makefile b/desktop/Makefile index 85d30c8c..9ac28eec 100644 --- a/desktop/Makefile +++ b/desktop/Makefile @@ -32,9 +32,9 @@ $(GOBIN)/rice: # Embed the current version number in the executable by writing version.go .PHONY: version.go version.go: - @echo "// DO NOT EDIT: Autogenerated by Makefile\n" > version.go - @echo "package main\n" >> version.go - @echo "const Version = \"$(VERSION)\"" >> version.go + @printf "// DO NOT EDIT: Autogenerated by Makefile\n" > version.go + @printf "package main\n" >> version.go + @printf "const Version = \"$(VERSION)\"\n" >> version.go rice-box.go: $(GOBIN)/rice editor/pull_release $(GOBIN)/rice embed-go