Permalink
Browse files

Ignore fail of git-describe differently.

Now it doesn't show an error message and still continues.

Thanks to Han` for reporting this.
  • Loading branch information...
1 parent a131127 commit 5b50003f33bcbe0c13d2027630f718f661bf6eb9 @DarthGandalf DarthGandalf committed Jul 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.in
View
@@ -107,7 +107,7 @@ src/version.o: src/version.cpp Makefile $(shell if [ x`cat .version_extra 2> /de
@mkdir -p .depend src
$(E) Building core object version...
$(Q)$(CXX) $(shell $(GIT) --git-dir=$(srcdir)/.git describe 2> /dev/null | $(SED) 's/.*-\([0123456789][0123456789]*\)-g\(.*\)/-DVERSION_EXTRA="\\"-git-\1-\2\\""/') $(CXXFLAGS) -c -o $@ $< -MD -MF .depend/version.dep -MT $@
- -$(Q)$(GIT) --git-dir=$(srcdir)/.git describe > .version_extra 2> /dev/null
+ $(Q)$(GIT) --git-dir=$(srcdir)/.git describe > .version_extra 2> /dev/null || true
endif
install: znc $(LIBZNC)

0 comments on commit 5b50003

Please sign in to comment.