Source updates are in a source subdirectory

rather than in the same directory as the prebuilt versions
This commit is contained in:
moneromooo-monero 2017-09-22 21:48:19 +01:00
parent 1f9058187c
commit 309290d1c7
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 6 additions and 3 deletions

View file

@ -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)