aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-02 23:29:25 +0400
committerRiccardo Spagni <ric@spagni.net>2017-10-02 23:29:25 +0400
commit87d0516f7dbe1a5195145975502d05ccf7c0fdd4 (patch)
tree586f3ca7a8a49b89cc0010f78772b587d5e815af /src/cryptonote_core
parentMerge pull request #2512 (diff)
parentSource updates are in a source subdirectory (diff)
downloadmonero-87d0516f7dbe1a5195145975502d05ccf7c0fdd4.tar.xz
Merge pull request #2513
309290d1 Source updates are in a source subdirectory (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 57347fdbc..c1a5ae324 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -1298,11 +1298,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)