Skip to content

Commit 3b31a97

Browse files
committed
fixed extra dash in banner
1 parent 4cdbad5 commit 3b31a97

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/sphinx.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ inline const DWORD * STATIC2DOCINFO ( const DWORD * pAttrs ) { return STATIC2DOC
203203
#endif
204204

205205
#ifndef SPHINX_TAG
206-
#define SPHINX_TAG "-dev"
206+
#define BANNER_TAG "-dev"
207+
#else
208+
#define BANNER_TAG "-" SPHINX_TAG
207209
#endif
208210

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

217-
#define SPHINX_VERSION SPHINX_VERSION_NUMBERS " " SPH_GIT_COMMIT_ID "@" GIT_TIMESTAMP_ID " " SPHINX_BITS_TAG SPHINX_TAG
219+
#define SPHINX_VERSION SPHINX_VERSION_NUMBERS " " SPH_GIT_COMMIT_ID "@" GIT_TIMESTAMP_ID " " SPHINX_BITS_TAG BANNER_TAG
218220
#define SPHINX_BANNER "Manticore " SPHINX_VERSION "\nCopyright (c) 2001-2016, Andrew Aksyonoff\n" \
219221
"Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)\n" \
220222
"Copyright (c) 2017, Manticore Software LTD (http://manticoresearch.com)\n\n"

src/sphinxversion.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#define SPH_GIT_COMMIT_ID "@SPH_GIT_COMMIT_ID@"
22
#define GIT_TIMESTAMP_ID "@GIT_TIMESTAMP_ID@"
3-
#cmakedefine SPHINX_TAG "-${SPHINX_TAG}"
3+
#cmakedefine SPHINX_TAG "@SPHINX_TAG@"

0 commit comments

Comments
 (0)