Module: sems Branch: 1.6 Commit: 0d003ed039c1547884c0022368014728a1951d25 URL: https://github.com/sems-server/sems/commit/0d003ed039c1547884c0022368014728a1951d25
Author: Stefan Sayer <stefan.sa...@googlemail.com> Committer: Stefan Sayer <stefan.sa...@googlemail.com> Date: 2015-06-16T17:07:36+02:00 1.6 bugfix branch --- Modified: Makefile.defs --- Diff: https://github.com/sems-server/sems/commit/0d003ed039c1547884c0022368014728a1951d25.diff Patch: https://github.com/sems-server/sems/commit/0d003ed039c1547884c0022368014728a1951d25.patch --- diff --git a/Makefile.defs b/Makefile.defs index 36b1423..9a666df 100644 --- a/Makefile.defs +++ b/Makefile.defs @@ -5,11 +5,11 @@ export makefile_defs GIT := $(shell which git) -#ifneq ($(GIT),) -# SCM_REV := $(shell if git --help describe |grep dirty 2>&1 >/dev/null ; \ -# then git describe --always --dirty 2>/dev/null; \ -# else git describe --always 2>/dev/null; fi) -#endif +ifneq ($(GIT),) + SCM_REV := $(shell if git --help describe |grep dirty 2>&1 >/dev/null ; \ + then git describe --always --dirty 2>/dev/null; \ + else git describe --always 2>/dev/null; fi) +endif #version number VERSION = 1 _______________________________________________ Semsdev mailing list Semsdev@lists.iptel.org http://lists.iptel.org/mailman/listinfo/semsdev