Added missing quote in help
[src/xds/xds-agent.git] / Makefile
index b55a77a..190dd08 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ ifeq ($(origin SUB_VERSION), undefined)
                VERSION := $(firstword $(subst -, ,$(SUB_VERSION)))
                SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION)))
        else
-               SUB_VERSION := $(shell git describe --tags --always  | sed 's/^v//')
+               SUB_VERSION := $(shell git rev-parse --short HEAD)
                ifeq ($(SUB_VERSION), )
                        SUB_VERSION := unknown-dev
                endif
@@ -149,7 +149,7 @@ tools/syncthing/copytobin:
 help:
        @echo "Main supported rules:"
        @echo "  all               (default)"
-       @echo "  build
+       @echo "  build"
        @echo "  package"
        @echo "  install"
        @echo "  clean"