Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Willmann 6265190fc6 git-version-gen: Don't check for .git directory
This check is not in all our repos that use git-version-gen. Indeed it
seems to be a leftover of openbsc where I think it wanted to ensure
being called in the openbsc subfolder or something? libosmocore e.g.
doesn't have it.

In any case .git being a directory is not always true (if using git
worktree) so remove this check.

Change-Id: Ic14561f3b041bb94d1b60e477b18e37077ce4c32
2018-07-24 18:03:20 +02:00
Harald Welte 365af78578 fix git-version-gen to find .git directory 2010-08-03 15:08:43 +02:00
Harald Welte e929c0c843 automatically include program version and print it from vty and --version 2010-03-23 00:09:32 +08:00