mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Improve the way that VERSION_EXTRA is calculated
Instead of doing magic with the result from version.sh so that we can add a preprocessor macro, the script now just writes src/version.cpp with the expected content. This should fix all the various issues that we have with quoting the arguments and things that go wrong when not building znc from a git clone. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
|
||||
#ifdef VERSION_EXTRA
|
||||
const char* ZNC_VERSION_EXTRA = VERSION_EXTRA;
|
||||
#else
|
||||
const char* ZNC_VERSION_EXTRA = "";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user