diff --git a/Jamroot b/Jamroot index ff6dfb556..b8180c132 100644 --- a/Jamroot +++ b/Jamroot @@ -140,10 +140,14 @@ build-project moses-chart-cmd/src ; install-location = [ option.get "install" : $(TOP)/dist ] ; if [ option.get "git" : : "yes" ] { - install-tag = [ _shell "git rev-parse --verify HEAD |head -c 7" ] ; - install-location = $(install-location).$(install-tag) ; + local revision = [ _shell "git rev-parse --verify HEAD |head -c 7" ] ; + constant GITTAG : "."$(revision) ; +} else { + constant GITTAG : "" ; } +install-location = $(install-location)$(GITTAG) ; + install dist : lm//query lm//build_binary