Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from rhyolight/issue-837
Browse files Browse the repository at this point in the history
Merge in master
  • Loading branch information
chetan51 committed Jul 3, 2014
2 parents 2b7702a + 6316a76 commit 2e2d161
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -6,7 +6,6 @@ language: cpp

os:
- linux
- osx

compiler:
- clang
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -910,8 +910,8 @@ copy_directory(${REPOSITORY_DIR}/scripts ${PROJECT_BUILD_RELEASE_DIR}/scripts)
# Copy miscellaneous files
copy_directory(${REPOSITORY_DIR}/extensions/core/external/licenses ${PROJECT_BUILD_RELEASE_DIR}/share/doc/licenses)
copy_directory(${REPOSITORY_DIR}/external/licenses ${PROJECT_BUILD_RELEASE_DIR}/share/doc/licenses)
copy_file(${REPOSITORY_DIR}/conf/default/nupic-default.xml ${PROJECT_BUILD_RELEASE_DIR}/conf/default/nupic-default.xml)
copy_file(${REPOSITORY_DIR}/conf/default/nupic-logging.conf ${PROJECT_BUILD_RELEASE_DIR}/conf/default/nupic-logging.conf)
copy_file(${REPOSITORY_DIR}/config/default/nupic-default.xml ${PROJECT_BUILD_RELEASE_DIR}/config/default/nupic-default.xml)
copy_file(${REPOSITORY_DIR}/config/default/nupic-logging.conf ${PROJECT_BUILD_RELEASE_DIR}/config/default/nupic-logging.conf)


############################################################################################################################
Expand Down
3 changes: 3 additions & 0 deletions nupic/database/ClientJobsDAO.py
Expand Up @@ -543,6 +543,9 @@ def __getDBNameForVersion(cls, dbVersion):
# DB Name suffix
suffix = Configuration.get('nupic.cluster.database.nameSuffix')

# Replace dash with underscore (dash will break SQL e.g. 'ec2-user')
suffix = suffix.replace("-", "_")

# Create the name of the database for the given DB version
dbName = '%s_%s' % (prefix, suffix)

Expand Down

0 comments on commit 2e2d161

Please sign in to comment.