diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-22 21:48:19 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-22 21:48:19 +0100 |
| commit | 309290d1c7d2425d134352e2ecafdf6c870d5043 (patch) | |
| tree | 650b3bc09a94f1e63f95555697d5bf4b1f2ef0c4 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 1f9058187c76b60f26930410ed3c162846441e20 (diff) | |
| download | monzero-core-309290d1c7d2425d134352e2ecafdf6c870d5043.tar.gz monzero-core-309290d1c7d2425d134352e2ecafdf6c870d5043.tar.xz monzero-core-309290d1c7d2425d134352e2ecafdf6c870d5043.zip | |
Source updates are in a source subdirectory
rather than in the same directory as the prebuilt versions
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 56485aedf..1ff154c8e 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -1300,11 +1300,12 @@ namespace cryptonote bool core::check_updates() { static const char software[] = "monero"; - static const char subdir[] = "cli"; // because it can never be simple #ifdef BUILD_TAG static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG); + static const char subdir[] = "cli"; // because it can never be simple #else static const char buildtag[] = "source"; + static const char subdir[] = "source"; // because it can never be simple #endif if (check_updates_level == UPDATES_DISABLED) |
