diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-19 11:36:17 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-22 02:47:38 +0200 |
commit | ddd0cb21fa223b7c410805868380301b31714812 (patch) | |
tree | 6701c4613ee1a9f7b7a66c018d6a79972369e909 /src/utils.c | |
parent | 621b3351798f5c78c5907bcfbc10217a63c4ae3f (diff) | |
download | calcurse-ddd0cb21fa223b7c410805868380301b31714812.tar.gz calcurse-ddd0cb21fa223b7c410805868380301b31714812.zip |
Be a bit more fail-safe in "build-aux/git-version-gen".
The existence of a ".git" directory is not a sufficient condition to be
sure we are in a Git repository. Only overwrite the version information
file if `git describe` returns a non-empty string.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions