Skip to content

Commit

Permalink
fixed extra dash in banner
Browse files Browse the repository at this point in the history
  • Loading branch information
klirichek committed Oct 17, 2017
1 parent 4cdbad5 commit 3b31a97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/sphinx.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ inline const DWORD * STATIC2DOCINFO ( const DWORD * pAttrs ) { return STATIC2DOC
#endif

#ifndef SPHINX_TAG
#define SPHINX_TAG "-dev"
#define BANNER_TAG "-dev"
#else
#define BANNER_TAG "-" SPHINX_TAG
#endif

#ifndef GIT_TIMESTAMP_ID
Expand All @@ -214,7 +216,7 @@ inline const DWORD * STATIC2DOCINFO ( const DWORD * pAttrs ) { return STATIC2DOC
// this line is deprecated and no more used. Leaved here for a while.
#define SPHINX_VERSION_NUMBERS "2.4.1"

#define SPHINX_VERSION SPHINX_VERSION_NUMBERS " " SPH_GIT_COMMIT_ID "@" GIT_TIMESTAMP_ID " " SPHINX_BITS_TAG SPHINX_TAG
#define SPHINX_VERSION SPHINX_VERSION_NUMBERS " " SPH_GIT_COMMIT_ID "@" GIT_TIMESTAMP_ID " " SPHINX_BITS_TAG BANNER_TAG
#define SPHINX_BANNER "Manticore " SPHINX_VERSION "\nCopyright (c) 2001-2016, Andrew Aksyonoff\n" \
"Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n" \
"Copyright (c) 2017, Manticore Software LTD (http://manticoresearch.com)\n\n"
Expand Down
2 changes: 1 addition & 1 deletion src/sphinxversion.h.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define SPH_GIT_COMMIT_ID "@SPH_GIT_COMMIT_ID@"
#define GIT_TIMESTAMP_ID "@GIT_TIMESTAMP_ID@"
#cmakedefine SPHINX_TAG "-${SPHINX_TAG}"
#cmakedefine SPHINX_TAG "@SPHINX_TAG@"

0 comments on commit 3b31a97

Please sign in to comment.