Merge pull request #2674 from theotherjimmy/correct_repo_files

tools - Correct adding repo_files
pull/2734/head
Sam Grove 2016-09-16 17:30:13 -05:00 committed by GitHub
commit 054f232431
1 changed files with 4 additions and 1 deletions

View File

@ -611,7 +611,10 @@ class mbedToolchain:
elif ext == '.bld':
resources.lib_builds.append(file_path)
elif file == '.hgignore':
elif basename(file_path) == '.hgignore':
resources.repo_files.append(file_path)
elif basename(file_path) == '.gitignore':
resources.repo_files.append(file_path)
elif ext == '.hex':